/* ===== Base ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef2f6;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1f2937;
}

/* ===== Form Wrapper ===== */
.odepc-form {
  max-width: 1400px;
  margin: 40px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== Step ===== */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* ===== Headings ===== */
.form-step h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  color: #0f172a;
}

/* ===== Grid ===== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ===== Field ===== */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}

/* ===== Inputs ===== */
.form-control {
  width: 100%;
  height: 46px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* ===== Textarea ===== */
textarea.form-control {
  /* height: 90px; */
  resize: vertical;
}

/* ===== File ===== */
input[type="file"].form-control {
  padding: 8px;
  height: auto;
}

/* ===== Small note ===== */
.form-group small {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* ===== Error ===== */
.error-text {
  display: none;
  margin-top: 15px;
  padding: 12px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  font-weight: 500;
}

/* ===== Buttons ===== */
.actions {
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-prev {
  background: #64748b;
  color: #ffffff;
}

.btn-prev:hover {
  background: #475569;
}

.btn-next {
  background: #2563eb;
  color: #ffffff;
}

.btn-next:hover {
  background: #1d4ed8;
}

.btn-submit {
  background: #16a34a;
  color: #ffffff;
}

.btn-submit:hover {
  background: #15803d;
}

/* ===== Declaration ===== */
.declaration-box {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 25px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    gap: 15px;
  }
}


/* 13-01-2026 */

.form-grid,
.qualification-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group span {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control {
    height: 42px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.qualification-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none;
    background: #fafafa;
}

.add-btn {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
}

.add-btn:hover {
    background: #084298;
}

/* checkbox */

.checkbox-row {
    display: flex;
    align-items: center;   /* vertical center */
    gap: 10px;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;             /* IMPORTANT */
    flex-shrink: 0;
}

.checkbox-row span {
    font-size: 14px;
    line-height: 1.2;
}



.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group span {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

/* MULTI SELECT STYLE */
.country-select {
    min-height: 120px;
    padding: 8px;
    border-radius: 6px;
    border: 1.5px solid #c7d2de;
    background: rgba(255, 255, 255, 0.9); /* transparent feel */
    font-size: 14px;
    color: #111;
    outline: none;
    transition: all 0.25s ease;
}

/* Hover */
.country-select:hover {
    border-color: #0e5a9c;
    background: #ffffff;
}

/* Focus */
.country-select:focus {
    border-color: #0b3c68;
    box-shadow: 0 0 0 3px rgba(14, 90, 156, 0.15);
}

/* OPTIONS */
.country-select option {
    padding: 6px;
    font-size: 14px;
}

/* SELECTED OPTION */
.country-select option:checked {
    background: linear-gradient(90deg, #0b3c68, #0e5a9c);
    color: #fff;
}

/* SCROLLBAR (Chrome/Edge) */
.country-select::-webkit-scrollbar {
    width: 6px;
}

.country-select::-webkit-scrollbar-thumb {
    background: #b8c7d8;
    border-radius: 10px;
}

#bachelor_fields .col-md-3 {
    width: 25% !important;
}

#studyingFields .col-md-3 {
    width: 25% !important;
}

label#incomeCertificateGroup {
    margin: auto;
}

#income_certificate{
  margin-top: 8px;
}


.check-item input[type="checkbox"] {
    width: unset;
    margin: 6px;
}

input[type="radio"] {
    width: unset !important;
    margin: 4px !important;
}
