.accordion-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-header {
    background: #f4f4f4;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background: #ddd;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background: #fff;
    transition:
        max-height 0.3s ease-out,
        padding 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: max-content;
    padding: 15px;
    border-left: 1px solid #888;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
}

.btn-primary_2 {
    background-color: var(--e-global-color-primary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .accordion {
        width: 100%;
        /* Full width on smaller screens */
    }
}


.steps {

    list-style: none;
    padding: 0;
}

.step {
    color: white;
    margin-bottom: 20px;
    opacity: 0.5;
    transition: 0.3s;
}

.step.active {
    opacity: 1;
    font-weight: 600;
}

.form-step {
    display: none;
    animation: slide 0.4s ease;
}

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

.admission-title {
    font-weight: 700;
    margin-bottom: 20px;
}

/* floating input */

.input-field {
    position: relative;
    margin-bottom: 22px !important;
}

.input-field input {
    width: 100%;
    padding: 14px 14px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    font-size: 15px;
    background: #fff;
    outline: none;
    transition: 0.25s;
}

.input-field label {
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: 14px;
    color: #888;
    pointer-events: none;
    transition: 0.25s;
    background: white;
    padding: 0 6px;
}

/* focus */

.input-field input:focus {
    border-color: #b11226;
    /* box-shadow: 0 0 0 2px rgba(177, 18, 38, 0.1); */
}

/* float label */

.input-field input:focus+label,
.input-field input:valid+label {
    top: -8px;
    font-size: 12px;
    color: #b11226;
}

.btn-primary-custom {
    background: #b11226 !important;
    color: white;
    border: none;
    padding: 15px 26px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: 0.25s;
}

.btn-primary-custom:hover {
    background: #930f20 !important;
    transform: translateY(-1px);
}



.btn-success-custom {
    background: seagreen !important;
    color: white;
    border: none;
    padding: 15px 26px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: 0.25s;
}

.btn-success-custom:hover {
    background: seagreen !important;
    transform: translateY(-1px);
}


.btn-success-custom:active {
    transform: translateY(0);
}


.btn-secondary-custom {
    background: #213153 !important;
    color: white;
    border: none;
    padding: 15px 26px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: 0.25s;
}

.btn-secondary-custom:hover {
    background: #930f20;
    transform: translateY(-1px) !important;
}

.btn-secondary-custom:active {
    transform: translateY(0);
}


.steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step {
    margin-bottom: 18px;
    opacity: 0.5;
    font-size: 14px;
    transition: 0.3s;
}

.step.active {
    opacity: 1;
    font-weight: 600;
}


.step.active {
    opacity: 1;
    font-weight: 600;
}

/* STEP PANEL */

.steps-panel {
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.step-heading {
    color: white !important;
    margin-bottom: 20px;
}

/* steps */

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    /* circle ke center ke aas paas */
    left: 0;
    width: 99%;
    height: 2px;
    background: #e3e3e3;
    z-index: 0;
}


.step {
    position: relative;
    opacity: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step span {
    color: #b11226;
    font-size: 20px
}

.step.active {
    opacity: 1;
    font-weight: 600;
}

.step.active .step-circle {
    color: #fff;
    background-color: #b11226;
}

/* circle */

.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 1px dotted #b11226;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b11226;
    font-weight: 600;
    font-size: 24px
}

/* FORM */

.form-container {
    max-width: 600px;
}

.admission-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #777;
    margin-bottom: 20px;
}

/* INPUT */

.custom-input {
    height: 48px;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    transition: 0.2s;
}

.custom-input:focus {
    border-color: #b11226;
    box-shadow: 0 0 0 2px rgba(177, 18, 38, 0.1);
}


.input-icon-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    height: 48px;
}

.input-icon-group .icon {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    color: #b11226;
    font-size: 18px;
}

.input-icon-group input {
    border: none !important;
    flex: 1;
    height: 100%;
    padding: 0 12px;
    outline: none;
}

.input-icon-group select {
    border: none;
    flex: 1;
    height: 100%;
    padding: 0 12px;
    outline: none;
    background: white;
    appearance: none;
}

.input-icon-group:focus-within {
    border-color: #b11226;
    box-shadow: 0 0 0 2px rgba(177, 18, 38, 0.1);
}


.custom-select {
    position: relative;
}

.custom-select select {
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.custom-select::after {
    content: "▼";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #666;
}

/* BUTTON */

.custom-btn {
    background: #b11226;
    color: white;
    padding: 10px 28px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.25s;
}

.custom-btn:hover {
    background: #920f1f;
}


.file-upload-group {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 14px;
    background: #fff;
    transition: 0.2s;
}

.file-upload-group:hover {
    border-color: #b11226;
}

.file-upload-label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.file-upload-desc {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.custom-file {
    position: relative;
}

.custom-file input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-file-box {
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    background: #fafafa;
}

.custom-file-box i {
    color: #b11226;
    margin-right: 6px;
}

@keyframes slide {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success-custom {
    background: #e8f7ee;
    border: 1px solid #28a745;
    color: #1e7e34;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}


.alert-danger-custom {
    background: #e8f7ee;
    border: 1px solid crimson;
    color: #b11226;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-close {
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.alert-close:hover {
    color: #000;
}

#successCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ok-btn {
    width: 500px;
    margin-top: 10px;
    padding: 10px 20px;
}


.success-card {
    background: #f8fbff;
    border: 1px solid #e3eaf3;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
    margin: auto;
}

.success-icon {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 15px;
}

.success-card h3 {
    margin-bottom: 10px;
}

.success-card p {
    color: #666;
}

.error-msg {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
}

.input-error {
    border-color: #dc3545 !important;
}


.doc-section {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #888;
    border-radius: 5px;
}

.step-card {
    /* max-width: 1000px;         */
    margin: 10px auto;
    padding: 35px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


.payment-card {
    /* max-width: 1000px; */
    margin: 10px auto;
    padding: 35px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.payment-icon {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.fee-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 18px;
}

.payment-note {
    font-size: 14px;
    color: #666;
}

.method-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.method {
    font-size: 14px;
    background: #f5f5f5;
    padding: 8px 14px;
    border-radius: 6px;
}

.payment-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}


@media screen and (max-width:476px) {

    .form-buttons {
        display: flex;
        flex-wrap: wrap;
    }

    .prev,
    .next,
    .send-otp,
    .verify-otp,
    .saveApplication,
    .uploadDocs {
        width: 100% !important;
        margin: 5px 0;
    }

    .steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 11px;
    }

    .steps::before {
        top: 15px;
        left: 15px;
        width: 88%
    }

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .step span {
        font-size: 8px;
    }

    .steps-panel {
        margin: 0;
        padding: 0;
    }

    .input-field {
        margin-bottom: 10px;
    }

    .input-icon-group {
        height: 36px;
    }

    .step-card {
        /* max-width: 1000px;         */
        margin: 10px auto;
        padding: 10px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

.red-ast {
    color: red;
}

.resend-btn.disabled {
    background: #fff !important;
    color: #b11226 !important;
    border: 1px solid #b11226 !important;
    cursor: none !important;
}

/* ===== TAB TOGGLE (REGISTER / LOGIN) ===== */
.tab-toggle-wrapper {
    display: flex;
    margin-bottom: 30px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #213153;
    width: fit-content;
}

.tab-toggle-btn {
    padding: 10px 40px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: #fff !important;
    color: #213153 !important;
    transition: 0.2s;
    letter-spacing: 0.5px;
}

.tab-toggle-btn.active {
    background: #213153 !important;
    color: #fff !important;
}

/* ===== LOGIN SECTION ===== */
#loginSection {
    display: none;
}

#loginSection.active {
    display: block;
}

#registerSection.hidden {
    display: none;
}

.login-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 35px;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    height: 48px;
    background: #fff;
    transition: 0.2s;
}

.phone-input-group:focus-within {
    border-color: #b11226;
    box-shadow: 0 0 0 2px rgba(177, 18, 38, 0.1);
}

.phone-code {
    padding: 0 12px;
    font-weight: 600;
    color: #444;
    border-right: 1px solid #ddd;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    background: #f9f9f9;
}

.phone-input-group input {
    border: none !important;
    flex: 1;
    height: 100%;
    padding: 0 12px;
    outline: none;
    font-size: 15px;
}

/* logged in welcome section */
#loginWelcome {
    display: none;
}

#loginWelcome.active {
    display: block;
}

.welcome-card {
    background: #f0fbf4;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 500px;
}

.welcome-card i {
    font-size: 32px;
    color: #28a745;
}

.welcome-card h5 {
    margin: 0 0 4px 0;
    color: #1e7e34;
}

.welcome-card p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

#loginOtpStep {
    display: none;
}

#loginOtpStep.active {
    display: block;
}

/* ===== LOGGED-IN APPLICATION DASHBOARD ===== */
#loginWelcome {
    display: none;
}

#loginWelcome.active {
    display: block;
}

.logged-in-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #213153 0%, #b11226 100%);
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 28px;
    color: #fff;
}

.logged-in-header .user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logged-in-header .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.logged-in-header h5 {
    margin: 0 0 3px 0;
    font-size: 17px;
    font-weight: 700;
}

.logged-in-header p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 7px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

/* dashboard grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

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

.info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    padding: 22px 26px;
}

.info-card .card-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #b11226;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: #888;
    font-weight: 500;
    min-width: 120px;
}

.info-row .value {
    color: #222;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

/* payment status badge */
.pay-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.pay-badge.success {
    background: #d1e7dd;
    color: #0a3622;
}

.pay-badge.failed {
    background: #f8d7da;
    color: #842029;
}

.pay-badge.completed {
    background: #d1e7dd;
    color: #0a3622;
}

/* application status badge */
.app-status-banner {
    border-radius: 10px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 14px;
}

.app-status-banner.submitted {
    background: #d1e7dd;
    border: 1px solid #a3cfbb;
    color: #0a3622;
}

.app-status-banner.pending-pay {
    background: #fff3cd;
    border: 1px solid #ffe083;
    color: #664d03;
}

.app-status-banner i {
    font-size: 24px;
}

/* docs list */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8f9fa;
}

.doc-item i {
    color: #b11226;
    font-size: 16px;
}

.doc-item a {
    color: #213153;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.doc-item a:hover {
    text-decoration: underline;
}

.full-width-card {
    grid-column: 1 / -1;
}

.course-info-card {
    margin-top: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s ease, max-height 0.4s ease;
}

.course-info-card.visible {
    opacity: 1;
    max-height: 200px;
}

.card-header-custom {
    background: #b11226;
    padding: 12px 16px;
}

.card-header-custom h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.card-header-custom p {
    margin: 3px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.card-body-specs {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spec-tag {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: #555;
}