/* Egor shell; legacy dashboard consumers retain the fallback values. */

.site-egor {
    background: #fff;
    letter-spacing: 0;
}

.site-egor button,
.site-egor input,
.site-egor select,
.site-egor textarea {
    font: inherit;
}

.site-egor :focus-visible {
    outline: 2px solid var(--egor-green);
    outline-offset: 3px;
}

.site-egor main [id] {
    scroll-margin-top: calc(var(--site-header-height) + var(--site-subnav-height) + 24px);
}

.site-egor #auth-aware-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
}

.site-egor .navbar {
    background: white;
    color: var(--egor-navy);
}

.site-egor .navbar__container {
    max-width: var(--site-width);
    min-height: var(--site-header-height);
    padding: 16px var(--site-gutter);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-egor .navbar__logo img {
    width: 128px;
    height: 60px;
    object-fit: contain;
}

.site-egor .navbar__menu,
.site-egor .navbar__right,
.site-egor .navbar__icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-egor .navbar__menu {
    flex: 1;
    justify-content: center;
    list-style: none;
    font-size: 14px;
}

.site-egor .navbar__menu a.active,
.site-egor .navbar__menu a:hover {
    color: var(--egor-green);
}

.site-egor .navbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--egor-green);
    background: white;
    cursor: pointer;
}

.site-egor .navbar__cta {
    padding: 10px 18px;
    border-radius: 24px;
    background: var(--egor-green);
    color: var(--egor-navy);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.site-egor .navbar__cta:hover {
    background: var(--egor-lime);
}

.site-egor .navbar__hamburger,
.site-egor .navbar__close {
    display: none;
}

.site-egor .egor-subnav,
.site-egor .empresas-navbar,
.site-egor .candidatos-navbar,
.site-egor .grupoEgor-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px var(--site-gutter);
    background: white;
    color: var(--egor-navy);
    border-bottom: 1px solid var(--egor-surface);
    z-index: 90;
}

.site-egor .egor-subnav--fixed {
    position: fixed;
    top: var(--site-header-height);
    inset-inline: 0;
}

.site-egor [aria-current="location"] {
    color: var(--egor-green);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.egor-account-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.egor-account-nav form { margin-left: auto; }
.egor-account-nav .active { color: var(--egor-green); }

.egor-auth-modal .modal-container {
    max-width: 600px;
    padding: 40px 24px 24px;
}

.site-egor .modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.egor-login-image {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.egor-search-form { display: grid; gap: 20px; }
.egor-search-form input { min-width: 0; border: 1px solid var(--egor-navy); padding: 12px; }

@media (max-width: 1024px) {
    .site-egor .navbar__container { gap: 16px; }
    .site-egor .navbar__right { margin-left: auto; }
    .site-egor .navbar__menu {
        display: none;
        position: fixed;
        inset: var(--site-header-height) 0 0;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 32px;
        overflow-y: auto;
    }
    .site-egor .navbar__menu.open { display: flex; }
    .site-egor .navbar__hamburger,
    .site-egor .navbar__close { display: inline-flex; padding: 8px; }
}

@media (max-width: 768px) {
    .site-egor .navbar__container { padding-block: 8px; }
    .site-egor .navbar__logo img { width: 100px; height: 48px; }
    .site-egor .navbar__icons { gap: 8px; }
    .site-egor .navbar__cta { display: none; }
    .site-egor .modal-grid { grid-template-columns: 1fr; }
    .egor-login-image { display: none; }
    .site-egor .egor-subnav,
    .site-egor .empresas-navbar,
    .site-egor .candidatos-navbar,
    .site-egor .grupoEgor-navbar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-egor { scroll-behavior: auto; }
    .site-egor .modal-container { animation: none; transition: none; }
}

:root {
    --primary-color: var(--site-primary, #014633);
}

small.required {
    color: #d40808;
    font-weight: bold;
    padding-left: 4px;
    /* padding-bottom: 10px; */
    /* line-height: 42px; */
    font-size: 100%;
}

.maxWidthSite {
    max-width: 1600px;
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--site-gutter, 0px);
}

.text-primary {
    color: var(--primary-color);
}

.text-white {
    color: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--site-font, 'Yellix'), -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--site-primary, #333);
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

.activesubmenu{
    color: var(--site-primary, #014633);
}

.egor-footer {
    background: var(--egor-green);
    color: #fff;
    padding: 36px 0 20px;
    font-family: var(--site-font);
    font-size: 12px;
    line-height: 1.5;

    .egor-footer__inner {
        width: 100%;
        max-width: var(--site-width);
        padding-inline: var(--site-gutter);
        margin-inline: auto;
    }

    .egor-footer__grid {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
        gap: 40px;
    }

    .egor-footer__logo { width: 120px; height: auto; margin-bottom: 16px; }
    .egor-footer__about { max-width: 280px; }
    .egor-footer__address { font-style: normal; }
    .egor-footer__heading { color: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; margin: 0 0 6px; }
    .egor-footer__section { margin-top: 20px; }
    .egor-footer__links { list-style: none; margin: 0; padding: 0; }
    .egor-footer__links li { margin: 3px 0; }
    .egor-footer__links button { color: inherit; text-align: left; cursor: pointer; }
    a:hover, .egor-footer__links button:hover { text-decoration: underline; }
    .egor-footer__form { margin-top: 12px; }
    .egor-footer__subscribe { display: flex; gap: 6px; }

    .egor-footer__email {
        flex: 1;
        min-width: 0;
        width: 100%;
        height: 34px;
        border: 0;
        border-radius: 20px;
        padding: 8px 12px;
        background: #fff;
        color: var(--egor-navy);
        font-size: 11px;
    }

    .egor-footer__submit {
        border: 0;
        border-radius: 20px;
        padding: 8px 14px;
        background: var(--egor-navy);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
    }

    .egor-footer__submit:disabled { opacity: .65; cursor: wait; }
    .egor-footer__consent { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; color: inherit; font-size: 10px; font-weight: 400; }
    .egor-footer__consent a { font-weight: 700; }
    .egor-footer__checkbox { appearance: auto; flex: 0 0 13px; width: 13px; height: 13px; padding: 0; margin: 1px 0 0; accent-color: var(--egor-navy); }
    .egor-footer__status { font-size: 11px; margin-top: 6px; }
    .egor-footer__status:empty { display: none; }
    .egor-footer__legal { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 16px; padding-bottom: 10px; font-size: 10px; }
    .egor-footer__legal-links { display: flex; flex-wrap: wrap; gap: 5px 0; }
    .egor-footer__legal-links a + a { border-left: 1px solid currentColor; padding-left: 8px; margin-left: 8px; }
    .egor-footer__certifications { width: 150px; height: auto; flex-shrink: 0; }
    .egor-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.45); padding-top: 10px; font-size: 10px; }
    .egor-footer__social { display: flex; gap: 6px; }
    .egor-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: var(--egor-green); background: #fff; font-size: 13px; text-decoration: none; }

    @media (max-width: 1024px) {
        .egor-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    }

    @media (max-width: 600px) {
        .egor-footer__grid { grid-template-columns: minmax(0, 1fr); }
        .egor-footer__about { max-width: none; }
        .egor-footer__legal, .egor-footer__bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
    }
}

.footer {
    background-color: var(--site-footer, #014633);
    color: white;
    font-family: var(--site-font, 'Yellix'), -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 40px 5%;

    .footer-container {
        max-width: var(--site-width, none);
        margin-inline: auto;
        display: grid;
        grid-template-columns: 3fr 1fr 1fr 2fr;
        gap: 40px;

        .footer-logo {
            h2 {
                font-size: 2.5rem;
                font-weight: 700;
                margin: 0;
            }

            .subtitle {
                color: var(--site-footer-text, #cfcfff);
                font-size: 0.9rem;

                span {
                    font-style: italic;
                }
            }

            .desc {
                margin-top: 20px;
                font-style: italic;
                line-height: 1.5;
                color: var(--site-footer-text, #e0e0ff);
            }
        }

        .footer-column {
            h3 {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }

            ul {
                list-style: none;
                padding: 0;

                li {
                    a, button {
                        color: var(--site-footer-text, #e0e0ff);
                        text-decoration: none;
                        display: block;
                        margin: 6px 0;
                        text-align: left;

                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }

        .footer-subscribe {
            h3 {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }

            p {
                color: var(--site-footer-text, #e0e0ff);
                margin-bottom: 15px;
            }

            .subscribe-form {
                display: flex;
                gap: 10px;
                margin-bottom: 25px;

                input {
                    flex: 1;
                    min-width: 0;
                    padding: 12px;
                    border: none;
                    background-color: white;
                    color: #333;
                }

                button {
                    background-color: var(--site-footer-button, #00b832);
                    color: white;
                    border: none;
                    padding: 12px 20px;
                    font-weight: 600;
                    cursor: pointer;

                    &:hover {
                        background-color: var(--site-footer-button, #00b832);
                    }
                }
            }


        }
    }

    .footer-bottom {
        max-width: var(--site-width, none);
        margin-inline: auto;
        justify-content: start;
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        margin-top: 10px;
        padding-top: 20px;
        text-align: left;
        font-size: 0.9rem;
        color: var(--site-footer-text, #d0d0ff);

        .social-icons {
            justify-content: end;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-left: auto;

            a {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                background: white;
                color: var(--site-primary, #014633);
                width: 40px;
                height: 40px;
                border-radius: 50%;
                font-size: 18px;
                transition: all 0.3s ease;
                text-decoration: none;

                &:hover {
                    background-color: var(--site-accent, #00b832);
                    color: white;
                }
            }
        }
    }

    @media (max-width: 1024px) {
        .footer-container {
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
    }

    @media (max-width: 768px) {
        padding: 50px 6%;

        .footer-container {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 40px;

            .footer-logo {
                h2 {
                    font-size: 2.2rem;
                }

                .desc {
                    max-width: 90%;
                    margin: 15px auto 0;
                }
            }

            .footer-column {
                h3 {
                    margin-bottom: 10px;
                }

                ul {
                    li a {
                        margin: 4px 0;
                    }
                }
            }

            .footer-subscribe {
                .subscribe-form {
                    flex-direction: column;

                    input {
                        width: 100%;
                    }

                    button {
                        width: 100%;
                    }
                }

                .social-icons {
                    justify-content: center;
                    margin-top: 20px;
                }
            }
        }

        .footer-bottom {
            text-align: center;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 480px) {
        .footer-container {
            gap: 25px;

            .footer-logo h2 {
                font-size: 1.8rem;
            }

            .footer-subscribe {
                h3 {
                    font-size: 1rem;
                }

                p {
                    font-size: 0.9rem;
                }
            }

            .social-icons a {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }
        }
    }
}


.mt-3{
    margin-top: 1rem;
}

.mt-7{
    margin-top: 3rem;
}


.open-modal-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    background: var(--site-primary, #014633);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    position: relative;
    background: white;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--site-primary, #014633);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

#ssoRedirectModal .sso-redirect-continue {
    padding: 0.55rem 1.15rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.25rem;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

#ssoRedirectModal .sso-redirect-card {
    width: min(90%, 28rem);
    padding: 0;
    border: 0;
    border-top: 4px solid var(--primary-color);
    border-radius: 1rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}
#ssoRedirectModal .sso-redirect-header { display: flex; align-items: center; gap: .65rem; padding: 1.15rem 1.5rem; background: color-mix(in srgb, var(--primary-color) 8%, white); color: var(--primary-color); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#ssoRedirectModal .sso-redirect-indicator { width: .65rem; height: .65rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sso-spin .8s linear infinite; }
#ssoRedirectModal .sso-redirect-content { padding: 1.5rem; text-align: left; }
#ssoRedirectModal h2 { margin: 0 0 .65rem; font-size: 1.5rem; line-height: 1.2; }
#ssoRedirectModal .sso-redirect-message { margin: 0; line-height: 1.6; }
#ssoRedirectModal .sso-redirect-fallback { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid rgba(0,0,0,.1); color: #5b6470; font-size: .9rem; }
#ssoRedirectModal .sso-redirect-fallback p { margin: 0 0 .8rem; }
@keyframes sso-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #ssoRedirectModal .sso-redirect-indicator { animation: none; } }

#ssoRedirectModal .sso-redirect-continue:hover {
    filter: brightness(0.9);
}

#ssoRedirectModal .sso-redirect-continue:active {
    filter: brightness(0.8);
}

#ssoRedirectModal .sso-redirect-continue:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.modal-container > .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--site-primary, #014633);
    background: #fff;
    color: var(--site-primary, #014633);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
    transition: all 0.2s ease;
}

.modal-container > .close-btn:hover {
    background: var(--site-primary, #014633);
    color: #fff;
}

/*.modal-content {*/

/*    min-height: 600px;*/
/*}*/

/* Left Side */
.left-side {
    background-image: var(--site-login-image, url("/assets/login/trabaladores_synk.png"));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* faz “fit content” preenchendo o container */
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stats-badge {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 161px;
    text-align: center;
}

.icon {
    justify-content: flex-start;
    font-size: 16px;
    display: flex;
}

.number {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    justify-content: flex-start;
    display: flex;
}

.subtitle {
    justify-content: flex-start;
    display: flex;
    font-size: 12px;
    font-weight: bold;
    color: #000;
}

.testimonial-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background-color: white;
    padding: 20px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stars {
    color: var(--site-accent, #00b832);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.testimonial-text {
    color: #222;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.author {
    color: #222;
    font-size: 0.7rem;
}

/* Right Side */
.right-side {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    h1, h2 {
        margin-bottom: 4rem;
        font-size: 1.5rem;
        font-weight: 600;
    }
}



.features {
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.check {
    color: var(--site-accent, #00b832);
    font-size: 24px;
    margin-right: 15px;
    font-weight: bold;
}

.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 18px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.btn-primary {
    background: var(--site-primary, #014633);
    border-color: var(--site-primary, #014633);
    color: white;
}

.btn-primary:hover {
    background: var(--site-primary-hover, #3730a3);
}

.btn-secondary {
    background: white;
    color: var(--site-primary, #014633);
    border: 2px solid var(--site-primary, #014633);
}

.btn-secondary:hover {
    background: var(--site-surface, #f0f0ff);
}

.login-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .left-side {
        display: none;
    }

    .right-side {
        padding: 40px 30px;
    }
}

.btn-green {
    margin-top: 20px;
    background: var(--site-accent, #00b832);
    color: var(--site-accent-contrast, #fff);
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    width: 50%;
    max-width: 13rem;

    &:hover {
        background: var(--site-accent, #00b832);
    }
}

.btn-blue {
    background: var(--site-primary, #014633);
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;

    &:hover {
        background: var(--site-primary, #014633);
    }
}



.form {
    text-align: left;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    position: relative;
    overflow: auto;
    opacity: 1;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
    color: var(--site-primary, #014633);
    cursor: pointer;
}

h3 {
    color: var(--site-primary, #014633);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

label {
    display: block;
    color: var(--site-primary, #014633);
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    border: none;
    background: #f2f4ff;
    padding: 10px;
    font-size: 0.95rem;
    color: #333;
}

textarea {
    resize: none;
    height: 100px;
}

.attach {
    display: block;
    text-align: center;
    margin: 25px 0;
    color: var(--site-primary, #014633);
    font-weight: 600;
    text-decoration: none;
}

.submit-btn {
    background: var(--site-primary, #014633);
    color: white;
    border: none;
    padding: 12px 30px;
    width: 100%;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 10px;
}

.disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #666;

    a {
        color: var(--site-primary, #014633);
        text-decoration: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.login-form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;
}

.login-title {
    color: #0a2540;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1.1;
}

.login-label {
    display: block;
    color: var(--site-primary, #014633);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.login-input {
    width: 100%;
    font-size: 1rem;
    padding: 18px 16px;
    border: 1px solid var(--site-primary, #014633);
    border-radius: 0;
    background: #fff;
    color: #222;
    margin-bottom: 0;
    outline: none;
    transition: border-color 0.2s;
}

.login-input::placeholder {
    color: #bdbdbd;
    font-size: 0.8rem;
}

.login-btn {
    width: 100%;
    background: var(--site-primary, #014633);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    padding: 18px 0;
    margin-top: 25px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-error {
    color: #e53e3e;
    font-size: 1.1rem;
    margin-top: 6px;
    display: block;
}

/* Forgot Password Link */
.login-forgot-password {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.forgot-password-link {
    color: var(--site-primary, #014633);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.has-code-link {
    color: var(--site-primary, #014633);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.has-code-link:hover {
    text-decoration: underline;
}

/* Reset Password Form */
.reset-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.reset-success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    font-size: 0.95rem;
}

/* Back to Login Link */
.login-back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}

.back-to-login-link {
    color: var(--site-primary, #014633);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.back-to-login-link:hover {
    text-decoration: underline;
}


.register-modal {
    background: #fff;
    padding: 2.5rem 3rem;
    border-radius: 0;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    border-top: 4px solid var(--site-primary, #014633);
}
.register-form {
    width: 100%;
}
.register-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.register-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.register-title {
    color: #000;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.mt-4 {
    margin-top: 5rem;
}

.mw-12r {
    max-width: 12rem;
}


.register-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 1rem;
    width: 100%;
}
.register-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-wrap: wrap;
    width: 100%;
}
.register-label {
    color: #000;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.register-input {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #222;
    outline: none;
    transition: border-color 0.2s;
}
.register-input:focus {
    border-color: var(--site-primary, #014633);
}
.register-input::placeholder {
    color: #999;
    font-size: 0.95rem;
}
.register-error {
    color: #e53e3e;
    font-size: 1rem;
    margin-top: 6px;
    display: block;
}
.register-gdpr {
    color: #0a2540;
    font-size: 1rem;
    margin-bottom: 2rem;
}
.register-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}
.register-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #0a2540;
    margin-bottom: 0;
    margin-top: 0;
}
.register-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--site-primary, #014633);
    margin-right: 8px;
    background-color: var(--site-primary, #014633);
}
.register-link {
    color: var(--site-primary, #014633);
    text-decoration: none;
}
.register-link:hover {
    text-decoration: underline;
}
.register-btn {
    width: 100%;
    background: var(--site-primary, #014633);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 0;
    padding: 1rem 0;
    margin-top: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.register-btn:hover {
    background: var(--site-primary, #014633);
}
.register-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Stage indicator for multi-step registration */
.register-stage-indicator {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.register-stage {
    color: #a0aec0;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.register-stage.active {
    color: var(--site-primary, #014633);
    font-weight: 600;
}
.register-stage.completed {
    color: var(--site-accent, #00b832);
}
.register-stage.completed::before {
    content: '✓';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--site-accent, #00b832);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}
.register-subtitle {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 24px;
}

/* Toast notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999999999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}
.toast-notification.show {
    transform: translateX(0);
}
.toast-success {
    background: var(--site-accent, #00b832);
    color: white;
}
.toast-error {
    background: #e53e3e;
    color: white;
}
.toast-icon {
    font-size: 1.2rem;
    font-weight: bold;
}
.toast-message {
    flex: 1;
    font-size: 0.95rem;
}
.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    padding: 0;
    line-height: 1;
}
.toast-close:hover {
    opacity: 1;
}

/* Hero Carousel Dots Styles - Override inline CSS */
.hero .hero-carousel-dots,
.hero-image .hero-carousel-dots,
div.hero-carousel-dots,
.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    pointer-events: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero .hero-carousel-dot,
.hero-image .hero-carousel-dot,
span.hero-carousel-dot,
.hero-carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--site-primary, #3556ff);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    display: inline-block;
    flex-shrink: 0;
    z-index: 99999;
    position: relative;
}

/* Fix: maxWidthSite inside hero blocks clicks on dots */
.hero > .maxWidthSite {
    pointer-events: none;
}

.hero > .maxWidthSite .hero-content,
.hero > .maxWidthSite .hero-content * {
    pointer-events: auto;
}

.hero-carousel-dot:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.hero-carousel-dot.active {
    background: var(--site-primary, #3556ff);
    opacity: 1;
    box-shadow: 0 0 8px rgba(53, 86, 255, 0.6);
}

@media (max-width: 768px) {
    .hero-carousel-dots {
        bottom: 20px;
        gap: 8px;
    }

    .hero-carousel-dot {
        width: 12px;
        height: 12px;
        border-width: 1px;
    }
}

@media (max-width: 480px) {
    .hero-carousel-dots {
        bottom: 15px;
    }

    .hero-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--site-primary, #014633);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 43, 73, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 9998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--site-primary, #014633);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Scroll to Top - Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Egor welcome/login chooser — scoped to preserve the login/register forms. */
.site-egor #loginModal {
    backdrop-filter: none;
    padding: 16px;
}
.site-egor #loginModal .modal-container {
    width: 100%;
    max-width: 920px;
    max-height: calc(100dvh - 32px);
    border: 0;
    border-radius: 30px;
    background: #ebeef0;
    box-shadow: none;
    overflow: auto;
}
.site-egor #loginModal .modal-grid { grid-template-columns: 1fr 1fr; }
.site-egor #loginModal .egor-login-visual { position: relative; min-width: 0; }
.site-egor #loginModal .egor-login-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}
.site-egor #loginModal .egor-login-visual::after {
    content: '';
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(transparent, rgb(0 0 0 / 25%));
}
.site-egor #loginModal .egor-login-visual p {
    position: absolute;
    z-index: 1;
    bottom: 42px;
    left: 13%;
    right: 13%;
    margin: 0;
    color: white;
    font-size: clamp(16px, 2.3vw, 24px);
    line-height: 1.05;
    font-weight: 500;
}
.site-egor #loginModal strong { font-weight: 750; }
.site-egor #loginModal .right-side {
    padding: 82px 12.5% 62px;
    color: #002b49;
    background: #ebeef0;
}
.site-egor #loginModal h2 {
    margin: 0 0 40px;
    color: #002b49;
    font-size: clamp(21px, 2.9vw, 30px);
    font-weight: 500;
    line-height: 1.15;
}
.site-egor #loginModal .features { list-style: none; padding: 0; margin: 0 0 48px; }
.site-egor #loginModal .features li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.45;
}
.site-egor #loginModal .features li:last-child { margin-bottom: 0; }
.site-egor #loginModal .features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #94d600;
    color: white;
    font-weight: 700;
}
.site-egor #loginModal .btn-primary,
.site-egor #loginModal .btn-secondary {
    min-height: 48px;
    padding: 10px 16px;
    margin: 0;
    border: 2px solid #002b49;
    border-radius: 99px;
    font: 700 14px/1.3 'Montserrat', sans-serif;
}
.site-egor #loginModal .btn-primary { background: #002b49; color: #b4ee00; }
.site-egor #loginModal .btn-secondary { margin-top: 10px; background: transparent; color: #002b49; }
.site-egor #loginModal .btn-primary:hover { background: #16465e; }
.site-egor #loginModal .btn-secondary:hover { background: #dce2e6; }
.site-egor #loginModal .close-btn {
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #002b49;
    font: 500 28px/1 'Montserrat', sans-serif;
}
.site-egor #loginModal .close-btn:hover { background: #dce2e6; }
.site-egor #loginModal button:focus-visible { outline: 3px solid #94d600; outline-offset: 3px; }
@media (min-width: 601px) and (max-width: 900px) {
    .site-egor #loginModal .right-side { padding-block: 60px 40px; }
    .site-egor #loginModal h2 { margin-bottom: 28px; }
    .site-egor #loginModal .features { margin-bottom: 32px; }
    .site-egor #loginModal .features li { font-size: 11px; padding-left: 26px; margin-bottom: 18px; }
    .site-egor #loginModal .features li::before { width: 18px; height: 18px; }
    .site-egor #loginModal .btn-primary,
    .site-egor #loginModal .btn-secondary { min-height: 36px; font-size: 11px; padding: 7px 12px; }
    .site-egor #loginModal .egor-login-visual p { bottom: 30px; }
}
@media (max-width: 600px) {
    .site-egor #loginModal .modal-grid { grid-template-columns: 1fr; }
    .site-egor #loginModal .egor-login-visual { display: none; }
    .site-egor #loginModal .right-side { padding: 56px 28px 32px; }
    .site-egor #loginModal h2 { font-size: 26px; margin-bottom: 28px; }
    .site-egor #loginModal .features { margin-bottom: 32px; }
}

/* Consistent CV upload control in registration and application modals. */
.site-egor .egor-cv-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 112px;
    margin: 12px 0 0;
    padding: 20px;
    border: 1px dashed var(--egor-navy);
    border-radius: 8px;
    background: var(--egor-surface);
    color: var(--egor-navy);
    font: inherit;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.site-egor .egor-cv-upload:hover {
    background: #e1e7eb;
}
.site-egor .egor-cv-upload:focus-visible,
.site-egor .egor-cv-upload:focus-within {
    outline: 3px solid var(--egor-lime);
    outline-offset: 3px;
}
.site-egor .egor-cv-upload small {
    font-size: 12px;
    font-weight: 400;
}
.site-egor .egor-cv-upload .egor-cv-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.site-egor .egor-cv-upload__filename,
.site-egor .egor-cv-upload__status {
    margin-top: 8px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.site-egor #searchModal .modal-container { border-radius: 16px; }
.site-egor .egor-search-form input { border-radius: 8px; }
.site-egor .egor-search-form button[type="submit"] { border-radius: 999px; }

.site-egor .egor-share-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-egor .insights-detail__socials a[data-share="linkedin"],
.site-egor .insights-detail__socials a[data-share="whatsapp"] { color: var(--egor-green); background: transparent; }
.site-egor .insights-detail__socials svg { display: block; width: 36px; height: 36px; }
.site-egor .insights-detail__socials a[data-share="linkedin"],
.site-egor .insights-detail__socials a[data-share="whatsapp"] { width: 36px; height: 36px; border: 0; }

/* Keep newsletter consent circular without changing its checkbox semantics. */
.site-egor #egins-subscription input[type="checkbox"][name="consent"] {
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    place-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 2px 0 0;
    border: 1px solid var(--egor-navy);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.site-egor #egins-subscription input[type="checkbox"][name="consent"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: inset 1em 1em var(--egor-navy);
    transform: scale(0);
}
.site-egor #egins-subscription input[type="checkbox"][name="consent"]:checked::before { transform: scale(1); }
.site-egor #egins-subscription input[type="checkbox"][name="consent"]:focus-visible { outline: 2px solid var(--egor-navy); outline-offset: 3px; }
