/**
 * GHVM Online Admission form
 */
.ghvm-oa {
    --ghvm-oa-teal: var(--color-primary, #1ab69d);
    --ghvm-oa-teal-deep: #0f8f7a;
    --ghvm-oa-coral: var(--color-secondary, #ee4a62);
    --ghvm-oa-ink: var(--color-heading, #181818);
    --ghvm-oa-muted: #6b7385;
    --ghvm-oa-stage: #eef7f5;
    --ghvm-oa-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background:
        radial-gradient(ellipse 70% 40% at 0% 0%, rgba(26, 182, 157, 0.09), transparent 55%),
        radial-gradient(ellipse 50% 35% at 100% 5%, rgba(238, 74, 98, 0.04), transparent 50%),
        #fafcfb;
    padding: 40px 0 80px !important;
    font-family: var(--font-primary);
}

.ghvm-oa .container {
    max-width: 980px;
}

.ghvm-oa-head {
    text-align: center;
    margin-bottom: 24px;
}

.ghvm-oa-head .title {
    margin: 0 0 8px;
    font-family: var(--font-secondary);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--ghvm-oa-ink);
    line-height: 1.2;
}

.ghvm-oa-head .lead {
    margin: 0 auto 16px;
    max-width: 540px;
    color: var(--ghvm-oa-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ghvm-oa-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 22px;
}

.ghvm-oa-step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(20, 32, 43, 0.08);
    font-size: 12.5px;
    font-weight: 650;
    color: var(--ghvm-oa-ink);
}

.ghvm-oa-step span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ghvm-oa-teal), var(--ghvm-oa-teal-deep));
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.ghvm-oa-shell {
    background: #fff;
    border: 1px solid rgba(20, 32, 43, 0.07);
    border-radius: 24px;
    padding: 28px 28px 32px;
    box-shadow: 0 18px 44px rgba(20, 32, 43, 0.07);
}

@media (max-width: 575px) {
    .ghvm-oa-shell {
        padding: 18px 14px 24px;
        border-radius: 18px;
    }
}

.ghvm-oa-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.ghvm-oa-alert.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.ghvm-oa-alert.is-warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.ghvm-oa-section {
    margin-bottom: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(20, 32, 43, 0.06);
}

.ghvm-oa-section:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
}

.ghvm-oa-section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.ghvm-oa-section-head .ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ghvm-oa-stage);
    color: var(--ghvm-oa-teal-deep);
    font-size: 18px;
    flex-shrink: 0;
}

.ghvm-oa-section-head h3 {
    margin: 0 0 2px;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 800;
    color: var(--ghvm-oa-ink);
}

.ghvm-oa-section-head p {
    margin: 0;
    font-size: 13px;
    color: var(--ghvm-oa-muted);
    line-height: 1.45;
}

.ghvm-oa-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ghvm-oa-stage);
    border: 1px solid rgba(26, 182, 157, 0.15);
    color: #0f4f44;
    font-size: 13.5px;
    line-height: 1.5;
}

.ghvm-oa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ghvm-oa-grid .span-2 {
    grid-column: span 2;
}

.ghvm-oa-grid .span-1-3 {
    grid-column: span 1;
}

@media (max-width: 767px) {
    .ghvm-oa-grid {
        grid-template-columns: 1fr;
    }

    .ghvm-oa-grid .span-2 {
        grid-column: span 1;
    }
}

.ghvm-oa-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ghvm-oa-ink);
}

.ghvm-oa-field label .req {
    color: var(--ghvm-oa-coral);
}

.ghvm-oa-field label .opt {
    font-weight: 500;
    color: var(--ghvm-oa-muted);
    text-transform: none;
    letter-spacing: 0;
}

.ghvm-oa-field input[type="text"],
.ghvm-oa-field input[type="email"],
.ghvm-oa-field input[type="number"],
.ghvm-oa-field input[type="date"],
.ghvm-oa-field input[type="tel"],
.ghvm-oa-field select,
.ghvm-oa-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(20, 32, 43, 0.12) !important;
    border-radius: 12px !important;
    background: #f8fbfa !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    font-weight: 500;
    color: var(--ghvm-oa-ink) !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ghvm-oa-field select {
    appearance: auto;
}

.ghvm-oa-field input:focus,
.ghvm-oa-field select:focus,
.ghvm-oa-field textarea:focus {
    outline: none !important;
    background: #fff !important;
    border-color: rgba(26, 182, 157, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(26, 182, 157, 0.12) !important;
}

.ghvm-oa-upload {
    display: grid;
    gap: 10px;
}

.ghvm-oa-upload-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8faf9;
    border: 1px solid rgba(20, 32, 43, 0.07);
}

@media (max-width: 767px) {
    .ghvm-oa-upload-item {
        grid-template-columns: 1fr;
    }
}

.ghvm-oa-upload-item .u-label {
    margin: 0;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--ghvm-oa-ink);
    line-height: 1.35;
}

.ghvm-oa-upload-item .u-hint {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ghvm-oa-muted);
}

.ghvm-oa-upload-item input[type="file"] {
    width: 100%;
    font-size: 13px;
    color: var(--ghvm-oa-muted);
}

.ghvm-oa-person {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(165deg, #f8fbfa, #fff);
    border: 1px solid rgba(20, 32, 43, 0.06);
}

.ghvm-oa-person h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 750;
    color: var(--ghvm-oa-teal-deep);
}

.ghvm-oa-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ghvm-oa-stage);
    border: 1px solid rgba(26, 182, 157, 0.15);
    margin-bottom: 16px;
}

.ghvm-oa-captcha p {
    flex: 1 1 200px;
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    color: var(--ghvm-oa-ink);
}

.ghvm-oa-captcha strong {
    color: var(--ghvm-oa-teal-deep);
}

.ghvm-oa-captcha .ghvm-oa-field {
    flex: 1 1 140px;
    max-width: 180px;
}

.ghvm-oa-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.ghvm-oa-submit .edu-btn {
    width: 100%;
    height: 52px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700 !important;
}

.ghvm-oa-submit .edu-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.ghvm-oa-submit .ghvm-btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ghvm-oa-spin 0.7s linear infinite;
    display: none;
}

.ghvm-oa-submit .edu-btn.is-loading .ghvm-btn-spinner {
    display: inline-block;
}

.ghvm-oa-submit .edu-btn.is-loading .ghvm-btn-label,
.ghvm-oa-submit .edu-btn.is-loading > i {
    display: none;
}

.ghvm-oa-foot {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--ghvm-oa-muted);
}

.ghvm-oa-foot a {
    color: var(--ghvm-oa-teal-deep);
    font-weight: 650;
}

@keyframes ghvm-oa-spin {
    to { transform: rotate(360deg); }
}
