fast-dropdown#user-authenticated fast-icon#user-chev {
    transition: transform 0.3s ease;
}

fast-dropdown#user-authenticated.is-open fast-icon#user-chev {
    transform: rotate(180deg);
}

fast-button .button-container:hover {
    text-decoration: none !important;
}

fast-button .button-container:visited {
    text-decoration: none !important;
}

.header-container-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    gap: 10px;
    background: white;
    grid-template-columns: auto 1fr 1fr;
    padding: 10px 20px;
    align-items: center;
    z-index: 3;
}

.header-container-list-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    gap: 10px;
    background: white;
    grid-template-columns: auto 1fr 1fr;
    padding: 10px 20px;
    align-items: center;
    z-index: 99;
    border-bottom: 1px solid #E5E5E5;
}

.header-line-separator {
    margin: 0px;
}

/* Grid Items */
.header-item {
    text-align: center;
    font-size: 1.2em;
    border-radius: 5px;
    white-space: nowrap;
}

.header-item-logo {
    display: flex;
}

.header-item-language {
    display: flex;
    justify-content: flex-end;
}

.header-item-language-display {
    font-weight: inherit;
    font-size: 14px;
}

fast-button.language-menu .button-container {
    padding-left: 10px!important;
}

.header-item-language-option {
    padding: 5px; 
    text-align: left;
    font-size: 14px;
    font-weight: inherit;
}

.header-brand-logo {
    height: 42px;
    margin-bottom: -10px;
    display: block;
}

.header-link-text,
.header-link-text-bold {
    font-family: 'Lato';
    font-style: normal;
    line-height: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #3F3F46;
    padding: 0 20px;
    text-decoration: none;
}

.header-link-text {
    font-size: 14px;
    font-weight: 400;
}

html[lang='ta'] .header-link-text {
    white-space: break-spaces;
    line-height: 1;
}

.header-link-text-bold {
    font-size: 15px;
    font-weight: 700;
    color: #FA4094;
    padding: 0px;
}

.header-link-text:hover,
.header-link-text:visited,
.header-link-text:focus,
.header-link-text-bold:hover,
.header-link-text-bold:visited,
.header-link-text-bold:focus {
    text-decoration: none;
}

.header-link-text:hover,
.header-link-text-bold:hover {
    color: #FA4094;
}

.header-link-text.active {
    color: #FA4094;
    font-weight: 700;
}

.header-link-highlightend-text {
    color: #FA4094;
    font-family: 'Lato';
    font-weight: 700 !important;
}

.header-links {
    display: flex; 
    gap: 16px;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.header-links fast-button:not(.borderless) .button-content {
    white-space: nowrap !important;
}

.header-dropdown-auth-links {
    color: #3F3F46;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.header-dropdown-auth-links:focus-visible,
.header-dropdown-auth-links:focus,
.header-dropdown-auth-links:visited {
    color: #3F3F46;
    text-decoration: none;
}

.header-dropdown-auth-links:hover {
    color: #FA4094;
    background-color: transparent;
    text-decoration: none;
}

.header-humburger-container {
    display: flex;
    justify-content: flex-end;
}

.header-open-app-cta {
    margin-right: 5px;
}

a.link-highlight:focus,
a.link-highlight:active,
a.link-highlight:visited {
    color: #FA4094;
}

@media (min-width: 950px) {
    .header-humburger-container {
        display: none;
    }

    .header-open-app-cta {
        display: none;
    }
}

.header-burger-icon {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    margin-bottom: 5px;
}

.header-burger-icon div {
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    transition: 0.3s;
    background-color: #18181B;
}

.header-burger-icon div:nth-child(1) { top: 6px; }
.header-burger-icon div:nth-child(2) { top: 14px; }
.header-burger-icon div:nth-child(3) { top: 22px; }

.header-burger-icon.active div:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}
.header-burger-icon.active div:nth-child(2) {
    opacity: 0;
}
.header-burger-icon.active div:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

.show-humberger {
    display: flex;
}

.hide-header-links {
    display: none;
}

.header-fullscreen-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    transition: right 0.3s ease-in-out;
    z-index: 2;
}

.header-fullscreen-menu-container-backdrop {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #00000099;
    display: flex;
    transition: right 0.3s ease-in-out;
    z-index: 1;
}

.header-fullscreen-menu-container.active {
    right: 0;
}

.header-fullscreen-menu-container-backdrop.active {
    right: 0;
}

.buttons-container {
    padding: 0px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.for-employer-cta {
    margin-top: -30px;
}

.header-user-name {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Lato';
}

.header-user-dropdown {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #FA4094;
}

.header-user-dropdown:hover {
    color: #FA4094;
    text-decoration: none;
}

.header-user-avatar {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border-radius: 20px;
}

.header-drop-down-auth-logout-link {
    color: #DC2626 !important;
}

.header-user-dropdown-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    cursor: pointer;
}

.header-user-dropdown-container:hover {
    background-color: transparent;
}

.small-screen-buttons-container {
    gap: 20px;
    margin-top: 20px;
    padding-left: 40px;
    min-width: 90vw;
    display: none;
}

#header-mobile-user-toggle fast-icon#user-chev {
    transition: transform 0.3s ease;
}

#header-mobile-user-toggle.open fast-icon#user-chev {
    transform: rotate(180deg);
}

#user-mobile-dropdown.open {
    display: grid;
}

fast-dropdown#user-authenticated.is-open {
    background-color: #FFEEF6;
}

fast-dropdown#header-login-signup-button-container.is-open .dropdown-toggle fast-button {
    background-color: #DE116E;
}

fast-dropdown#header-login-signup-button-container .dropdown-toggle fast-button {
    background-color: #FA4094;
}

fast-dropdown#header-login-signup-button-container .dropdown-toggle fast-button:hover {
    background-color: #DE116E;
}

@media (max-width: 950px) {
    .header-container-list {
        grid-template-columns: auto 1fr auto;
    }
}

@media (max-width: 767px) {
    .header-container-list {
        gap: 20px;
        grid-template-columns: auto 1fr auto;
        padding: 10px 20px;
    }

    .header-links {
        display: flex; 
        gap: 16px;
        flex-direction: column;
        margin-top: 80px;
        width: 100%;
        justify-content: flex-start !important;
        align-items: inherit !important;
    }

    .show-humberger {
        display: flex;
    }

    .hide-header-links {
        display: none;
    }

    .header-user-dropdown-container {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        cursor: pointer;
    }
    
    .header-user-dropdown-container:hover {
        background-color: transparent;
    }

    .small-screen-buttons-container {
        gap: 20px;
        margin-top: 20px;
        padding-left: 40px;
        min-width: 90vw;
        display: none;
    }
}

@media (min-width: 1200px) {
    .header-container-list {
        position: unset;
        gap: 10px;
        grid-template-columns: auto 1fr auto;
        padding: 10px 10px 11px 10px;
        max-width: 1170px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-container-list {
        max-width: 970px;
    }
}

@media (min-width: 950px) {
    .header-container {
        position: fixed;
        top: 0;
        display: flex;
        justify-content: center;
        width: 100vw;
        border-bottom: 1px solid #E5E5E5;
        background-color: #ffffff;
        z-index: 99;
        min-height: 69px;
    }

    .header-container-list {
        position: unset;
        gap: 10px;
        grid-template-columns: auto 1fr auto;
        padding: 10px 10px 11px 10px;
    }

    .header-container-list-full {
        position: fixed;
        gap: 20px;
        grid-template-columns: auto 1fr 1fr auto;
        padding: 10px 20px 11px 20px;
    }

    .header-links {
        display: flex; 
        gap: 16px;
        flex-direction: row;
        margin-top: 0;
        margin-left: 0;
        justify-content: flex-end;
        align-items: center;
    }

    .header-link-text {
        padding: 0px;
    }

    .show-humberger {
        display: none;
    }

    .hide-header-links {
        display: flex;
    }

    .header-cta-container {
        gap: 10px;
        display: flex;
    }

    .desktop-buttons-container {
        display: flex; 
        flex-direction: column; 
        text-align: left;
    }

    .header-dropdown-auth-links {
        padding: 10px 60px 10px 18px;
        color: #3F3F46;
        font-family: Lato;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        cursor: pointer;
    }
    
    .header-dropdown-auth-links:hover {
        color: #FA4094;
        background-color: #F5F5F5;
        text-decoration: none;
    }

    fast-dropdown#user-authenticated .dropdown-toggle {
        padding: 9px 10px;
    }

    .header-user-dropdown-container {
        display: flex;
        justify-content: center;
        cursor: pointer;
        margin-left: 20px;
    }
    
    .header-user-dropdown-container:hover {
        background-color: #FFEEF6;
    }

    .header-user-dropdown {
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1085px) {
    .header-container {
        position: fixed;
        top: 0;
        display: flex;
        justify-content: center;
        width: 100vw;
        border-bottom: 1px solid #E5E5E5;
        background-color: #ffffff;
        z-index: 99;
    }

    .header-container-list {
        position: unset;
        gap: 10px;
        grid-template-columns: auto 1fr 1fr;
        padding: 10px 10px 11px 10px;
    }

    .header-container-list-full {
        gap: 20px;
        grid-template-columns: auto 1fr 1fr;
        padding: 10px 80px 11px 80px;
    }

    .header-dropdown-auth-links {
        padding: 10px 60px 10px 18px;
        color: #3F3F46;
        font-family: Lato;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        cursor: pointer;
    }
    
    .header-dropdown-auth-links:hover {
        color: #FA4094;
        background-color: #F5F5F5;
        text-decoration: none;
    }

    fast-dropdown#user-authenticated .dropdown-toggle {
        padding: 9px 10px;
    }

    .header-user-dropdown-container {
        display: flex;
        justify-content: center;
        cursor: pointer;
        margin-left: 20px;
    }
    
    .header-user-dropdown-container:hover {
        background-color: #FFEEF6;
    }

    .header-user-dropdown {
        justify-content: center;
        align-items: center;
    }
}

/* Tamil desktop header: the language column is empty on desktop, so give the
   nav links the full remaining width instead of half of it, and tighten the
   links/CTAs so they fit without clipping the right-hand buttons. */
@media (min-width: 950px) {
    html[lang='ta'] .header-container-list {
        grid-template-columns: auto min-content 1fr;
    }

    html[lang='ta'] .header-links {
        gap: 12px;
    }

    html[lang='ta'] .hide-header-links {
        min-width: 0;
    }

    html[lang='ta'] .header-link-text,
    html[lang='ta'] .header-link-text-bold {
        font-size: 13px;
        text-align: center;
    }

    html[lang='ta'] .hide-header-links .header-link-text {
        flex: 0 0 auto;
        width: min-content;
    }

    html[lang='ta'] .header-cta-container {
        gap: 8px;
    }

    html[lang='ta'] .header-cta-container fast-button {
        --padding-x: 12px;
        font-size: 14px;
        line-height: 18px;
        height: auto;
        min-height: var(--height-lg);
    }

    /* Let the Employer / Login labels wrap onto two lines rather than push
       the nav links left over the logo. */
    html[lang='ta'] .header-cta-container fast-button .button-content {
        white-space: normal !important;
        text-align: center;
    }
}

/* Web to App */
.w2m-overlay {
    display: none;
}

.w2m-overlay.w2m-overlay--active {
    display: flex;
}

.w2m-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}

.w2m-modal {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 920px;
    padding: 48px 48px 48px 48px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.w2m-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1a1a1a;
    transition: background 0.15s;
}

.w2m-modal-close:hover {
    background: #f0f0f0;
}

.w2m-modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.w2m-modal-body {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.w2m-modal-left,
.w2m-modal-right {
    flex: 1;
    min-width: 0;
}

.w2m-modal-left {
    background: #f7f7f8;
    margin: -48px 0 -48px -48px;
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.w2m-modal-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 48px;
}
.w2m-eyebrow {
    align-self: flex-start;
    width: fit-content;
    font-family: 'Lato';
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: #FA4094;
    letter-spacing: 0.06em;
    margin-bottom: 0px;
    background-color: #FFEEF6;
    padding: 5px 8px;
    border-radius: 8px;
}

.w2m-headline {
    font-family: 'Poppins';
    font-size: 36px;
    font-weight: 600;
    line-height: 40px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.w2m-headline-pink {
    color: #FA4094;
    display: block;
}

.w2m-description {
    font-family: 'Lato';
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #3a3a3a;
    margin-bottom: 32px;
}

.w2m-features {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
}

.w2m-features-vertical {
    flex-direction: column;
}

.w2m-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
}

.w2m-feature-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.w2m-feature-icon-wrap svg {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
}

.w2m-feature-name {
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #1a1a1a;
    white-space: nowrap;
}

.w2m-store-row {
    display: flex;
    gap: 12px;
}

.w2m-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #293153;
    border-radius: 10px;
    padding: 12px 20px;
    text-decoration: none;
    min-width: 158px;
    transition: background 0.15s;
}

.w2m-store-btn:hover {
    background: #253868;
}

html[lang='ta'] .w2m-modal-left {
    padding: 40px;
}



.w2m-store-btn-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.w2m-store-btn-icon svg {
    width: 28px;
    height: 28px;
}

.w2m-store-btn-text {
    display: flex;
    flex-direction: column;
}

.w2m-store-btn-label {
    font-family: 'Lato';
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: #ffffff;
}

.w2m-store-btn-name {
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: #ffffff;
}

/* Smart header fallback for long translations */
body.header-force-mobile .header-humburger-container {
    display: flex !important;
}

body.header-force-mobile .header-open-app-cta {
    display: block !important;
}

body.header-force-mobile .show-humberger {
    display: flex !important;
}

body.header-force-mobile .hide-header-links {
    display: none !important;
}

body.header-force-mobile .header-container-list {
    grid-template-columns: auto 1fr auto !important;
}

body.header-force-mobile .header-fullscreen-menu-container .header-links {
    flex-direction: column !important;
    margin-top: 80px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: inherit !important;
}

body.header-force-mobile .header-fullscreen-menu-container .header-links a {
    padding-left: 25px !important;
}

body.header-force-mobile .header-fullscreen-menu-container .header-user-dropdown-container {
    justify-content: flex-start !important;
    flex-direction: column !important;
    margin-left: 0 !important;
}

body.header-force-mobile .header-fullscreen-menu-container .header-user-dropdown-container:hover {
    background-color: transparent !important;
}

.w2m-qr-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w2m-qr-svg {
    width: 220px;
    height: 220px;
    display: block;
}

.w2m-scan-title {
    font-family: 'Inter';
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 6px;
}

.w2m-scan-desc {
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #666666;
    text-align: center;
}

html[lang='ta'] .w2m-store-btn {
    gap: 6px;
    padding: 15px 10px;
    .w2m-store-btn-name {
        letter-spacing: -0.5px;
        font-size: 17px;
    }
}