/* General Layout */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #fff;
}

.scq-wrapper {
  border: 1px solid #f5b301;
  padding: 20px;
  border-radius: 10px;
  max-width: 960px;
  margin: 30px auto;
  background-color: #111;
}

/* Form Inputs */
.scq-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.scq-row input,
.scq-row select {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #f5b301;
  background: #111;
  color: #fff;
  border-radius: 8px;
}

/* Category Headings */
.scq-wrapper h3 {
  margin: 20px 0 10px;
  font-size: 20px;
  color: #f5b301;
}

/* Material Selection Grid */
.scq-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.scq-item {
  display: inline-block;
  padding: 10px;
  border: 1px solid #f5b301;
  border-radius: 10px;
  text-align: center;
  background-color: #111;
  cursor: pointer;
  width: 120px;
  position: relative;
  color: #fff;
  transition: all 0.3s ease;
}

.scq-item input {
  display: none;
}

.scq-item img {
  max-width: 100%;
  height: 90px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 8px;
}

.scq-item:hover
 {
  border-color: #f5b301;
}

.scq-item input:checked ~ span {
  font-weight: bold;
  color: #f5b301;
}

.scq-item :hover{
  box-shadow: 0 0 10px 2px #f5b301;
}

/* Action Buttons */
.scq-btn {
  background-color: #f5b301;
  color: #000;
  padding: 10px 18px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.2s;
}

.scq-btn:hover {
  background-color: #e5a900;
}

/* Table Styling */
.scq-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  color: #fff;
}

.scq-table th,
.scq-table td {
  border: 1px solid #f5b301;
  padding: 10px;
  text-align: left;
}

#scq_total {
  text-align: right;
  margin-top: 10px;
  color: #f5b301;
  font-weight: bold;
}

/* Modal Styles */
.scq-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.scq-modal-content {
  background-color: #1c1c1c;
  padding: 20px 30px;
  border: 1px solid #f5b301;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  color: #fff;
  position: relative;
}

.scq-modal-content h3 {
  color: #f5b301;
  margin-top: 0;
}

.scq-modal-content input,
.scq-modal-content textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #f5b301;
  background: #111;
  color: #fff;
}

.scq-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 20px;
  color: #f5b301;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .scq-row {
    flex-direction: column;
  }

  .scq-item {
    width: 100px;
  }
}
