/**
 * ======================================================
 * OnlineTest Admin CSS
 * ======================================================
 */

.onlinetest-wrapper {
  max-width: 900px;
  margin: 20px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-family: "Segoe UI", Arial, sans-serif;
}

/* =====================
   FORM GRID
===================== */
.onlinetest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .onlinetest-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   FORM ELEMENT
===================== */
.onlinetest-wrapper label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

.onlinetest-wrapper input,
.onlinetest-wrapper select,
.onlinetest-wrapper textarea {
  width: 100%;
  height: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 13px;
  box-sizing: border-box;
}

.onlinetest-wrapper textarea {
  height: 80px;
  resize: vertical;
}

/* =====================
   RADIO GROUP
===================== */
.onlinetest-radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.onlinetest-radio-group label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =====================
   TOTAL PRICE
===================== */
.onlinetest-total {
  background: #0047A0;
  color: #fff;
  font-weight: 700;
  border: none;
  letter-spacing: 0.5px;
}

/* =====================
   BUTTON
===================== */
.onlinetest-submit {
  margin-top: 30px;
}

.onlinetest-submit button {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #0047A0, #0066cc);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.onlinetest-submit button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,71,160,0.35);
}

.onlinetest-submit button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =====================
   ADMIN INFO BOX
===================== */
.onlinetest-info {
  background: #f5f8ff;
  border-left: 4px solid #0047A0;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  border-radius: 6px;
}
