@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');


body {
    font-family: inika, 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #2C2C54;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

button {
    background-color: #32CD32;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #228B22;
    transform: scale(1.05);
}

/* Navbar Styles */
/* Navbar Styles */
/* Navbar styles handled by navbar-liquid-glass.css */



/* Dropdown styles handled by navbar-liquid-glass.css */

/* Logo styles handled by navbar-liquid-glass.css */

.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Style du bouton de déconnexion */
.logout-btn {
    margin-left: 10px;
    padding: 6px 12px;
    background-color: #dc3545; /* Rouge */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Effet au survol */
.logout-btn:hover {
    background-color: #b02a37; /* Rouge foncé */
}

/* user-nav styles handled by navbar-liquid-glass.css */

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

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

.container{
    background-color: #E6FFE6;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}

.container p{
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 20px 0;
    color: #000; /* Couleur du texte */
}

.container span{
    font-size: 12px;
    color: #6c757d;
}

.container a{
    color: #38a169; /* Lien vert de Tra-V */
    font-size: 13px;
    text-decoration: none;
    margin: 15px 0 10px;
}

.container button{
    background-color: transparent; /* Vert principal de Tra-V */
    color: #000;
    font-size: 12px;
    padding: 10px 45px;
    border: 1px solid #000;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.container button.hidden{
    background-color: transparent;
    border-color: #000;
    color: #000;
}

.container button.hidden:hover {
	background: #fff;
}

.container button:hover{
    background-color: #D4FFD0; /* Survol plus foncé */
}

.container form{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    height: 100%;
}

.container input{
    background-color: #f1f3f5;
    border:none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

.form-container{
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
    overflow-y: auto;
    scrollbar-width: none;
}

.sign-in{
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.active .sign-in{
    transform: translateX(100%);
}

.sign-up{
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.active .sign-up{
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move{
    0%, 49.99%{
        opacity: 0;
        z-index: 1;
    }
    50%, 100%{
        opacity: 1;
        z-index: 5;
    }
}

.social-icons{
    margin: 20px 0;
}

.social-icons a,
.social-icons .icons{
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 50%; /* Cercle parfait pour les icônes */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 3px;
    padding: 0;
    width: 40px;
    height: 40px;
    color: #000; /* Vert principal de Tra-V */
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons a:hover,
.social-icons .icons:hover{
    background-color: #D4FFD0; /* Fond vert au survol */
    color: #000; /* Icône blanche au survol */
    transform: scale(1.1);
}

.social-icons .icons i{
    pointer-events: none;
}

.social-auth-disabled{
    border-color: rgba(36, 89, 66, 0.18) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 245, 0.92)) !important;
    color: rgba(36, 89, 66, 0.48) !important;
    cursor: not-allowed;
    opacity: 0.72;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.social-auth-disabled:hover{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 245, 0.92)) !important;
    color: rgba(36, 89, 66, 0.48) !important;
    transform: none !important;
}

.social-auth-note{
    margin: -6px 0 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(36, 89, 66, 0.7);
}

.toggle-container{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    border-radius: 20px;
    z-index: 1000;
}

.container.active .toggle-container{
    transform: translateX(-100%);
    border-radius: 20px;
}

.toggle{
    background-color: #D4FFD0; /* Vert principal pour le toggle */
    height: 100%;
    color: #000;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.container.active .toggle{
    transform: translateX(50%);
}

.toggle-panel{
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
    cursor: pointer;
}

.toggle-panel > * {
    position: relative;
    z-index: 2;
}

.toggle-panel button {
    cursor: pointer;
}

.toggle-left{
    transform: translateX(-200%);
}

.container.active .toggle-left{
    transform: translateX(0);
}

.toggle-right{
    right: 0;
    transform: translateX(0);
}

.container.active .toggle-right{
    transform: translateX(200%);
}

.forgot-password-trigger {
    margin-top: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: #2f8b58;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.forgot-password-trigger:hover {
    background: transparent;
    color: #236b43;
    transform: none;
}

.forgot-password-modal.hidden {
    display: none;
}

.forgot-password-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.forgot-password-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(34, 51, 40, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.forgot-password-dialog {
    position: relative;
    width: min(92vw, 460px);
    margin: 8vh auto 0;
    padding: 28px 28px 24px;
    border-radius: 28px;
    border: 1px solid rgba(196, 226, 207, 0.9);
    background:
        radial-gradient(circle at top left, rgba(220, 242, 226, 0.55), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 249, 244, 0.94));
    box-shadow:
        0 28px 60px rgba(35, 69, 49, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.forgot-password-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(190, 220, 201, 0.9);
    background: rgba(255, 255, 255, 0.88);
    color: #2f5d47;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: none;
}

.forgot-password-close:hover {
    transform: none;
    background: rgba(242, 248, 244, 0.98);
}

.forgot-password-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(180, 216, 194, 0.95);
    background: rgba(233, 248, 238, 0.85);
    color: #318356;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.forgot-password-dialog h2 {
    margin: 18px 0 10px;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    color: #224733;
}

.forgot-password-copy {
    margin: 0 0 18px;
    color: #587565;
    line-height: 1.7;
}

.forgot-password-form {
    display: grid;
    gap: 12px;
}

.forgot-password-form label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2e5743;
    margin-bottom: 2px;
}

.forgot-password-form input {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(185, 219, 198, 0.95);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 245, 0.94));
    color: #264b38;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(71, 114, 88, 0.08);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.forgot-password-form input::placeholder {
    color: rgba(83, 116, 99, 0.62);
}

.forgot-password-form input:focus {
    border-color: rgba(74, 170, 113, 0.9);
    box-shadow:
        0 0 0 4px rgba(91, 204, 136, 0.14),
        0 14px 30px rgba(61, 130, 87, 0.12);
    transform: translateY(-1px);
}

.forgot-password-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    padding: 0 22px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2a8a55 0%, #35a765 48%, #49c97d 100%);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow:
        0 18px 34px rgba(53, 138, 85, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.forgot-password-submit:hover {
    background: linear-gradient(135deg, #25784a 0%, #31995d 48%, #3ebd73 100%);
    transform: translateY(-2px);
    box-shadow:
        0 22px 38px rgba(47, 128, 78, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.forgot-password-submit:active {
    transform: translateY(0);
}

.forgot-password-submit:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(91, 204, 136, 0.18),
        0 20px 36px rgba(47, 128, 78, 0.24);
}

.forgot-password-feedback {
    min-height: 20px;
    margin: 2px 0 0;
    font-size: 0.92rem;
    color: #5a7163;
}

.forgot-password-feedback.is-error {
    color: #c44c4c;
}

.forgot-password-feedback.is-success {
    color: #2f8b58;
}

.forgot-password-support-link {
    display: inline-flex;
    margin-top: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #2f8b58;
}

/* Conteneur du select personnalisé */
.custom-select-container {
    position: relative;
    width: 100%;
    margin: 8px 0;
    z-index: 40;
    isolation: isolate;
}

/* Style de la zone sélectionnée */
.custom-select {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 246, 0.9));
    border: 1px solid rgba(182, 214, 195, 0.85);
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    color: #000;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow:
        0 14px 28px rgba(78, 129, 98, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Flèche personnalisée */
.custom-select::after {
    content: '▼';
    color: #6c757d;
    font-size: 12px;
    position: absolute;
    right: 15px;
}

/* Menu déroulant */
.options-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 252, 249, 1));
    border: 1px solid rgba(182, 214, 195, 0.82);
    border-radius: 16px;
    box-shadow:
        0 24px 46px rgba(78, 129, 98, 0.2),
        0 10px 20px rgba(53, 88, 67, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    z-index: 80;
    display: none;
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    overflow: hidden auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 8px;
}

/* Option individuelle */
.option {
    padding: 11px 14px;
    font-size: 13px;
    color: #234333;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

/* Effet au survol */
.option:hover {
    background: linear-gradient(135deg, rgba(63, 192, 103, 0.16), rgba(228, 255, 235, 0.8));
    color: #163a27;
    transform: translateX(2px);
}

/* Affichage du menu déroulant */
.custom-select.active .options-dropdown {
    display: block;
}

.custom-select.active {
    z-index: 65;
}

/* Style de l'option sélectionnée */
.selected-option {
    flex-grow: 1;
}

.selected-option.has-value {
    color: #000;
}

/* ✅ Utilisation d'une classe spécifique pour éviter les conflits */
.business-hidden {
    display: none;
}


/* Signup form refresh */
#container {
    min-height: 620px;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.34), rgba(239, 249, 241, 0.16)),
        linear-gradient(118deg, rgba(255, 255, 255, 0.16), transparent 42%),
        radial-gradient(circle at 12% 18%, rgba(148, 255, 188, 0.46), transparent 34%),
        radial-gradient(circle at 86% 14%, rgba(255, 235, 163, 0.34), transparent 30%),
        radial-gradient(circle at 72% 78%, rgba(186, 245, 210, 0.32), transparent 32%);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 36px 92px rgba(83, 129, 102, 0.18),
        0 0 48px rgba(169, 245, 194, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(142, 196, 160, 0.18);
    backdrop-filter: blur(34px) saturate(170%) brightness(1.04);
    -webkit-backdrop-filter: blur(34px) saturate(170%) brightness(1.04);
    isolation: isolate;
}

#container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 24%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 46%),
        radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.34), transparent 26%);
    filter: blur(1.5px);
    pointer-events: none;
    z-index: 0;
}

#container::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 0 22px rgba(173, 255, 205, 0.12);
    opacity: 0.92;
    pointer-events: none;
    z-index: 1;
}

#container .form-container {
    background: rgba(255, 255, 255, 0.04);
    isolation: isolate;
}

#container .form-container form {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 248, 0.84));
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 16px 36px rgba(121, 166, 138, 0.08);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#container .sign-up form {
    overflow: visible;
}

#container .form-container form::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 28%),
        linear-gradient(125deg, rgba(255, 255, 255, 0.2), transparent 42%),
        radial-gradient(circle at 16% 10%, rgba(170, 255, 199, 0.16), transparent 26%),
        radial-gradient(circle at 86% 12%, rgba(255, 237, 176, 0.14), transparent 24%);
    pointer-events: none;
    z-index: 0;
}

#container .form-container form > * {
    position: relative;
    z-index: 1;
}

#container .sign-up form .custom-select-container {
    z-index: 40;
}

#container .sign-up form .custom-select.active {
    z-index: 90;
}

#container .sign-up form .options-dropdown {
    z-index: 95;
}

#container .sign-up form > button[type="submit"] {
    z-index: 2;
}

#container .toggle-container {
    background: rgba(255, 255, 255, 0.06);
}

#container .toggle {
    background:
        linear-gradient(160deg, rgba(156, 237, 171, 0.72), rgba(214, 255, 223, 0.42)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 32%),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.4), transparent 38%),
        radial-gradient(circle at 78% 70%, rgba(255, 232, 166, 0.18), transparent 34%);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 18px 40px rgba(92, 154, 112, 0.16);
}

#container .sign-in,
#container .sign-up {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.sign-up form {
    justify-content: flex-start;
    padding: 32px 40px;
}

.sign-up form h1 {
    margin-bottom: 6px;
}

.signup-helper {
    margin: 6px 0 10px;
    text-align: center;
}

.account-type-fields {
    width: 100%;
}

.form-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-row input {
    width: 100%;
}

.sign-up form label {
    width: 100%;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #385142;
    text-align: left;
}

#signup-birthdate {
    color: #4f5d56;
}

#business-name-container {
    width: 100%;
}

#business-name-container.business-hidden {
    display: none;
}

#business-name-container:not(.business-hidden) {
    display: grid;
    gap: 0;
    margin-top: 4px;
}

#business-name-container label {
    margin-bottom: 2px;
}

#business-name-container input {
    width: 100%;
}

/* ── Consent checkboxes ──────────────────────────────────────── */

.consent-group {
    width: 100%;
    margin: 6px 0;
}

.consent-group.business-hidden {
    display: none;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 11.5px;
    line-height: 1.45;
    color: #4a5e52;
    text-align: left;
}

.consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin: 1px 0 0;
    accent-color: #38a169;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-label a {
    color: #2a7d48 !important;
    text-decoration: underline !important;
    font-size: inherit !important;
    margin: 0 !important;
}

.consent-label a:hover {
    color: #1f4d35 !important;
}

@media (max-width: 860px) {
    .container {
        width: min(92vw, 760px);
        min-height: 760px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Beta pending overlay */
#beta-pending-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: betaFadeIn 0.3s ease;
}

#beta-pending-overlay.hidden {
    display: none;
}

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

.beta-pending-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 248, 0.95));
    border: 1px solid rgba(182, 214, 195, 0.5);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 460px;
    width: 90vw;
    text-align: center;
    box-shadow: 0 24px 64px rgba(83, 129, 102, 0.2);
}

.beta-pending-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.beta-pending-box h2 {
    font-family: Inika, serif;
    font-size: 1.5rem;
    color: #1f4d35;
    margin-bottom: 14px;
}

.beta-pending-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.beta-pending-note {
    font-size: 0.85rem !important;
    color: #888 !important;
    font-style: italic;
}

.beta-pending-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2f8b58, #38a169);
    color: #fff !important;
    font-family: Montserrat, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.beta-pending-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(47, 139, 88, 0.3);
}

.forced-password-modal.hidden {
    display: none;
}

.forced-password-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
}

.forced-password-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 45, 34, 0.48);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.forced-password-dialog {
    position: relative;
    width: min(92vw, 480px);
    margin: 9vh auto 0;
    padding: 30px 30px 26px;
    border-radius: 30px;
    border: 1px solid rgba(190, 223, 202, 0.92);
    background:
        radial-gradient(circle at top left, rgba(218, 242, 225, 0.62), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 245, 0.95));
    box-shadow:
        0 28px 56px rgba(32, 70, 48, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.forced-password-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(180, 216, 194, 0.95);
    background: rgba(233, 248, 238, 0.85);
    color: #318356;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.forced-password-dialog h2 {
    margin: 18px 0 10px;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    color: #224733;
}

.forced-password-copy {
    margin: 0 0 12px;
    color: #587565;
    line-height: 1.7;
}

.forced-password-email {
    margin: 0 0 18px;
    color: #2f6c4b;
    font-size: 0.9rem;
    font-weight: 700;
}

.forced-password-form {
    display: grid;
    gap: 12px;
}

.forced-password-form label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2e5743;
    margin-bottom: 2px;
}

.forced-password-form input {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(185, 219, 198, 0.95);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 245, 0.94));
    color: #264b38;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(71, 114, 88, 0.08);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.forced-password-form input::placeholder {
    color: rgba(83, 116, 99, 0.62);
}

.forced-password-form input:focus {
    border-color: rgba(74, 170, 113, 0.9);
    box-shadow:
        0 0 0 4px rgba(91, 204, 136, 0.14),
        0 14px 30px rgba(61, 130, 87, 0.12);
    transform: translateY(-1px);
}

.forced-password-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    padding: 0 22px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2a8a55 0%, #35a765 48%, #49c97d 100%);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow:
        0 18px 34px rgba(53, 138, 85, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.forced-password-submit:hover {
    background: linear-gradient(135deg, #25784a 0%, #31995d 48%, #3ebd73 100%);
    transform: translateY(-2px);
    box-shadow:
        0 22px 38px rgba(47, 128, 78, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.forced-password-submit:active {
    transform: translateY(0);
}

.forced-password-feedback {
    min-height: 20px;
    font-size: 0.88rem;
    color: #5a7163;
}

.forced-password-feedback.is-error {
    color: #c94a5a;
}

.forced-password-feedback.is-success {
    color: #2f8b58;
}
