/* ============================================================
   BRAND TOKENS (only vars referenced below / in theme)
   ============================================================ */
:root {
    --primary-400: #818cf8;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;

    --color-slate-400: #94a3b8;
    --color-grey-border: #9ca3af;
    --muted-foreground: var(--color-slate-400);
}

/* Inline SVG icon sprite (not loaded as a separate .svg file) */
.fa-icons {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}
.fa-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.nav-login-btn {
    display: inline-block;
    text-decoration: none;
}

.site-header .main-navigation ul > li > a.nav-login-btn {
    padding: 12px 25px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    background-color: #EE781F;
    border-radius: 25px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.site-header .main-navigation ul > li > a.nav-login-btn:hover,
.site-header .main-navigation ul > li > a.nav-login-btn:focus {
    background-color: #D96814;
}

.site-header .main-navigation ul > li:hover > a,
.site-header .main-navigation ul > li:focus > a,
.site-header .main-navigation ul > li:active > a,
.site-header .main-navigation ul li.current-menu-item > a,
.site-header .main-navigation ul li.current-menu-parent > a {
    color: #ffffff;
}

.home-fact-section .fact-right-inner-wrap .fact-inner-box .fact-image.top-right-image {
    background-image: url(../../../../user/pages/images/theme/left-image.webp);
    background-position: center right;
}

.home-fact-section .fact-right-inner-wrap .fact-inner-box .fact-image.bottom-left-image {
    background-image: url(../../../../user/pages/images/theme/right-image.webp);
    background-position: center left;
}

.about-zigzag-list li {
    color: #555;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.about-zigzag-row {
    padding: 48px 0;
}

.about-zigzag-list {
    padding-left: 18px;
    margin-bottom: 0;
}

#loginModal {
    .modal-content {
        border: 0;
        border-radius: 16px;
        overflow: hidden;
    }

    .login-modal-body {
        background: #ffffff;
        padding: 50px 50px 44px;
        text-align: center;
        position: relative;
        overflow: hidden;

        .login-modal-pattern {
            position: absolute;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            pointer-events: none;
            z-index: 0;
            opacity: 0.2;

            &.login-modal-pattern--two {
                background-image: url('../assets/img/educator-img5.webp');
                width: 160px;
                height: 160px;
                bottom: -40px;
                left: -40px;
            }

            &.login-modal-pattern--three {
                background-image: url('../assets/img/educator-img4.webp');
                width: 120px;
                height: 120px;
                top: 45%;
                right: -20px;
            }
        }

        > *:not(.login-modal-pattern) {
            position: relative;
            z-index: 1;
        }

        .login-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 2;
            padding: 12px;

            &:hover {
                background-color: #dfe4f5;
                transition: 0.3s ease;
            }
        }

        .title-divider {
            margin-bottom: 16px;

            &:before {
                margin-left: auto;
                margin-right: auto;
                right: 0;
            }
        }

        .login-modal-title {
            font-size: 24px;
            line-height: 1.35;
            font-weight: 700;
            color: #312e81;
            margin-bottom: 12px;
        }

        .login-modal-subtitle {
            color: #64748b;
            font-size: 16px;
            margin-bottom: 40px;
        }

        .login-choice-card {
            display: flex;
            align-items: center;
            gap: 10px;
            text-align: start;
            border-radius: 10px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.5s ease;

            &.green-card {
                background: linear-gradient(to bottom right, #a5fcf0, #a7f3d0);

                &:hover {
                    border-color: #1f685e;
                    background: linear-gradient(to bottom right, #06b6d4, #10b981);
                }
            }

            &.red-card {
                background: linear-gradient(to bottom right, #fecdd3, #fed7aa);

                &:hover {
                    border-color: #762630;
                    background: linear-gradient(to bottom right, #fb7185, #f97316);
                }
            }

            .lc-content {
                flex: 1;

                .login-choice-label {
                    font-weight: 600;
                    font-size: 24px;
                    margin-bottom: 2px;
                    transition: color 0.5s ease;

                    &.choice-yes {
                        color: #1f685e;
                    }
                    &.choice-no {
                        color: #762630;
                    }
                }

                .login-choice-desc {
                    font-size: 14px;
                    transition: color 0.5s ease;

                    &.desc-yes {
                        color: #3e7d64;
                    }
                    &.desc-no {
                        color: #753e58;
                    }
                }
            }

            .fa-icon {
                width: 26px;
                height: 26px;
                transition: transform 0.2s ease, color 0.5s ease;

                &.icon-yes {
                    color: #1f685e;
                }
                &.icon-no {
                    color: #762630;
                }
            }

            &:hover .fa-icon {
                transform: translateX(4px);
                color: #ffffff;
            }

            &:hover .lc-content .choice-yes,
            &:hover .lc-content .choice-no,
            &:hover .lc-content .desc-yes,
            &:hover .lc-content .desc-no {
                color: #ffffff;
            }
        }
    }
}

.site-footer .top-footer .widget ul li a:hover,
.site-footer .top-footer .widget ul li a:focus,
.site-footer .top-footer .widget ul li a:active {
    color: #ffffff;
}
.site-footer .widget-item > .fa-icon,
.site-footer .widget ul li a .fa-icon,
.site-footer .footer-social-links ul li a .fa-icon {
    color: #d9d9d9;
}

body.item-get-started .content-holder {
    padding: 0;
}
body.item-get-started .content-wrapper {
    padding: 0;
}
body.item-get-started #backTotop {
    display: none !important;
}
.embed-form-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 0;
}
.embed-form-wrapper iframe {
    display: block;
    width: 100%;
    height: 1500px;
    min-height: 1500px;
    border: 0;
}

/* ── College Registration Page ─────────────────────────────── */
.college-registration-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-registration-card {
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    border: 1px solid var(--color-grey-border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.college-registration-card .title-divider {
    margin-bottom: 16px;
}

.college-registration-card .title-divider:before {
    margin-left: auto;
    margin-right: auto;
    right: 0;
}

.college-registration-title {
    font-size: 24px;
    font-weight: 700;
    color: #312e81;
    margin-bottom: 8px;
}

.college-registration-subtitle {
    color: var(--muted-foreground);
    font-size: 14px;
    margin-bottom: 28px;
}

.college-registration-form {
    text-align: left;
}

.college-registration-form .form-label {
    font-weight: 600;
    color: #312e81;
    margin-bottom: 8px;
}

.college-registration-form .form-select,
.college-registration-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
}

.college-registration-form .form-select:focus,
.college-registration-form .form-control:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.college-search-wrapper {
    position: relative;
}

.college-search-wrapper .autoComplete_wrapper {
    display: block;
    width: 100%;
}

.college-search-wrapper #autoComplete {
    width: 100%;
}

.college-search-wrapper [id^="autoComplete_list_"] {
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
}

.college-loading,
.college-error {
    font-size: 13px;
    margin-top: 8px;
}

.college-loading {
    color: var(--muted-foreground);
}

.college-error {
    color: #dc3545;
}

@media (max-width: 575px) {
    .college-registration-card {
        padding: 32px 20px;
    }
    .college-registration-title {
        font-size: 20px;
    }
}
