/* Variables & Base */
:root {
    --fln-primary: #F26522;
    --fln-primary-hover: #d84d14;
    --fln-bg: #f9fafb;
    --fln-text: #0f172a;
    --fln-text-muted: #64748b;
    --fln-border: #e2e8f0;
}

.fln-auth-page {
    background: var(--fln-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.fln-auth-page__shell {
    flex-grow: 1;
    display: flex;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* -----------------------------
 * GAUCHE : ASIDE (TIMELINE)
 * ----------------------------- */
.fln-auth-page__aside {
    display: none;
    position: relative;
    background: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.05);
    padding: 3rem 4rem;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .fln-auth-page__aside {
        display: flex;
        flex-direction: column;
        width: 40%; /* Réduit à 40% pour donner plus de place au formulaire */
    }
}

/* Background Blobs */
.fln-auth-page__aside::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at top left, rgba(242,101,34,0.08) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(59,130,246,0.08) 0%, transparent 40%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.fln-aside-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Timeline Stepper */
.fln-modern-timeline {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.fln-timeline__track {
    position: absolute;
    left: 1.5rem; /* 24px */
    top: 2.5rem;
    bottom: 2.5rem;
    width: 2px;
    background: #f1f5f9;
    z-index: 0;
}

.fln-timeline__progress {
    position: absolute;
    left: 1.5rem;
    top: 2.5rem;
    height: 75%;
    width: 2px;
    background: linear-gradient(180deg, #F26522 0%, #60a5fa 100%);
    z-index: 1;
}

.fln-timeline__step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    z-index: 2;
    cursor: default;
    opacity: 0;
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fln-timeline__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    color: #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.fln-timeline__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.fln-timeline__step--active .fln-timeline__icon {
    background: #F26522;
    color: #ffffff;
    border-color: #F26522;
    box-shadow: 0 10px 25px -5px rgba(242, 101, 34, 0.4);
}

.fln-timeline__content {
    margin-left: 1.5rem;
    flex-grow: 1;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.fln-timeline__step--active .fln-timeline__content {
    background: #ffffff;
    border-color: rgba(242, 101, 34, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.fln-timeline__step:hover .fln-timeline__icon {
    transform: scale(1.1);
}

.fln-timeline__step:hover .fln-timeline__content {
    background: #ffffff;
    border-color: #f1f5f9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.fln-timeline__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.fln-timeline__header h4 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
}

.fln-timeline__step--active .fln-timeline__header h4 {
    color: #0f172a;
}

.fln-timeline__content p {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Étape Finale (Résultat) */
.fln-timeline__step--result .fln-timeline__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 0.25rem;
    border-radius: 0.75rem;
    background: #f0fdf4;
    color: #16a34a;
    border-color: #dcfce7;
}

.fln-timeline__step--result .fln-timeline__content {
    background: rgba(240, 253, 244, 0.5);
    border-color: #dcfce7;
}

.fln-timeline__step--result .fln-timeline__content span {
    display: block;
    font-size: 0.625rem;
    font-weight: 900;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.fln-timeline__step--result .fln-timeline__content p {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1e293b;
}

/* Animations timeline */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fln-floating-cursor {
    position: absolute;
    bottom: 3rem;
    right: 0;
    pointer-events: none;
    color: #0f172a;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.1));
    transform: rotate(12deg);
    animation: bounce-slow 4s ease-in-out infinite;
}

/* Aside Text & Badges */
.fln-aside-text {
    text-align: center;
    margin-top: 1.5rem;
}

.fln-aside-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.fln-aside-text p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 2rem;
    padding: 0 2rem;
}

.fln-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.fln-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
}

.fln-badge span {
    font-size: 0.625rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fln-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}

/* -----------------------------
 * DROITE : CONTENT (FORMULAIRES)
 * ----------------------------- */
.fln-auth-page__content {
    width: 100%;
    padding: 2rem;
    display: flex;

}

@media (min-width: 1024px) {
    .fln-auth-page__content {
        width: 60%; /* Augmenté à 60% pour élargir la zone */
        padding: 1rem 0rem;
    }
}

.fln-auth-card {
    position: relative;
    width: 100%;
    max-width: 100%; /* Augmenté de 480px à 600px pour l'inscription */
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 2.5rem; /* ~40px */
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
    border: 1px solid #ffffff;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .fln-auth-card {
        padding: 2.5rem;
    }
}

.fln-auth-card::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 8rem;
    height: 8rem;
    background: rgba(242, 101, 34, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.fln-auth-card__head {
    position: relative;
    z-index: 10;
    margin-bottom: 2.5rem;
}

.fln-auth-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.875rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.fln-auth-card__subtitle {
    margin: 0;
    color: #94a3b8;
    font-weight: 500;
}

/* Gestion des panneaux */
.fln-auth-panel {
    display: none;
    position: relative;
    z-index: 10;
    animation: fade-in-up 0.4s ease-out forwards;
}

.fln-auth-panel.is-active {
    display: block;
}

/* -----------------------------
 * FORMULAIRES & INPUTS
 * ----------------------------- */
.fln-field-group {
    margin-bottom: 1.5rem;
}

.fln-group-title {
    margin: 0 0 1rem;
    font-size: 0.6875rem;
    font-weight: 900;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.fln-grid {
    display: grid;
    gap: 1.25rem;
}

.fln-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fln-field--full {
    grid-column: 1 / -1;
}

.fln-input-wrapper {
    position: relative;
}

.fln-input-wrapper svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    width: 1.125rem;
    height: 1.125rem;
    transition: color 0.3s;
    pointer-events: none;
}

.fln-input-wrapper:focus-within svg {
    color: var(--fln-primary);
}

.fln-field label,
#loginform label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 900;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Styles Communs Inputs (Custom + WP Native) */
.fln-input-wrapper input,
.fln-input-wrapper select,
.fln-field input:not([type="radio"]):not([type="checkbox"]),
.fln-field select,
#loginform input[type="text"],
#loginform input[type="password"] {
    width: 100%;
    min-height: 56px;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    background: #f8fafc;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.fln-input-wrapper.has-icon input {
    padding-left: 3rem;
}

.fln-input-wrapper input:focus,
.fln-input-wrapper select:focus,
.fln-field input:focus,
.fln-field select:focus,
#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--fln-primary);
    box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.1);
}

/* Injection d'icônes dans le formulaire de login WP natif */
#loginform .login-username input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    padding-left: 3rem;
}
#loginform .login-password input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    padding-left: 3rem;
}
#loginform .login-username:focus-within input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F26522' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}
#loginform .login-password:focus-within input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F26522' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}


.fln-help {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    color: #94a3b8;
}

/* Boutons d'Action */
.fln-button--primary,
#loginform .button.button-primary,
#loginform input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 0 1.5rem;
    background: var(--fln-primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(242, 101, 34, 0.4);
    transition: all 0.3s ease;
}

.fln-button--primary:hover,
#loginform .button.button-primary:hover,
#loginform input[type="submit"]:hover {
    background: var(--fln-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(242, 101, 34, 0.5);
}

.fln-button--primary:active,
#loginform .button.button-primary:active,
#loginform input[type="submit"]:active {
    transform: translateY(0);
}

/* Radio Boutons "Pro / Particulier" */
.fln-radio-row {
    display: flex;
    gap: 0.75rem;
}

.fln-radio-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: 1rem;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.2s;
}

.fln-radio-pill:has(input:checked) {
    background: #ffffff;
    border-color: var(--fln-primary);
    color: var(--fln-primary);
    box-shadow: 0 4px 6px -1px rgba(242, 101, 34, 0.1);
}

.fln-radio-pill input {
    display: none;
}

/* Liens / Footer formulaires */
.fln-auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.fln-auth-links__button,
.fln-btn--link {
    background: transparent;
    border: none;
    color: var(--fln-primary);
    font-size: 0.875rem;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.fln-auth-links__button:hover,
.fln-btn--link:hover {
    text-decoration: underline;
}

.fln-auth-links__text {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

/* WP Login form extras */
#loginform .login-remember {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#loginform .login-remember label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
    color: #64748b;
    font-weight: 600;
}

#loginform input[type="checkbox"] {
    accent-color: var(--fln-primary);
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.25rem;
}

.fln-form-message {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.fln-hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Animations */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-10px) rotate(12deg); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@media (max-width: 767px) {
    .fln-grid--2 {
        grid-template-columns: 1fr;
    }
}
.fln-register-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.fln-register-stepper__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e7edf4;
    border-radius: 18px;
    background: #f8fafc;
    transition: all .2s ease;
}

.fln-register-stepper__item.is-active {
    background: #fff7f2;
    border-color: rgba(242, 101, 34, 0.25);
}

.fln-register-stepper__item.is-done {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, 0.20);
}

.fln-register-stepper__item.is-hidden {
    display: none;
}

.fln-register-stepper__num {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe4ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.fln-register-stepper__item.is-active .fln-register-stepper__num {
    background: #F26522;
    border-color: #F26522;
    color: #fff;
}

.fln-register-stepper__label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.fln-register-step {
    display: none;
}

.fln-register-step.is-active {
    display: block;
}

.fln-register-footer {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 28px;
}

.fln-button--ghost {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
}

.fln-button--ghost:hover {
    background: #f8fafc;
}

.fln-register-pro-note {
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 767px) {
    .fln-register-stepper {
        grid-template-columns: 1fr;
    }

    .fln-register-footer {
        flex-direction: column;
    }
}
.fln-field-feedback {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.fln-field-feedback.is-success {
    color: #16a34a;
}

.fln-field-feedback.is-error {
    color: #dc2626;
}

.fln-input-wrapper.has-action {
    position: relative;
}

.fln-input-action {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
}

.fln-password-meter {
    margin-top: 12px;
}

.fln-password-meter__bar {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.fln-password-meter__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #22c55e 100%);
    transition: width .25s ease;
}

.fln-password-meter__text {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}
.fln-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fln-toast {
    min-width: 280px;
    max-width: 380px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    transition: all .25s ease;
}

.fln-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fln-toast--success {
    background: #16a34a;
}

.fln-toast--error {
    background: #dc2626;
}

.fln-toast--info {
    background: #334155;
}
/* ---------------------------------------------------
 * SÉQUENCE D'ANIMATION AUTOMATIQUE (SCAN DES ÉTAPES)
 * --------------------------------------------------- */
/* Attribution des délais pour chaque étape (1 à 4) */
.fln-timeline__step:nth-child(3) { --seq-delay: 0s; }
.fln-timeline__step:nth-child(4) { --seq-delay: 2.5s; }
.fln-timeline__step:nth-child(5) { --seq-delay: 5s; }
.fln-timeline__step:nth-child(6) { --seq-delay: 7.5s; }

/* Étape Active (Étape 1) */
.fln-timeline__step--active .fln-timeline__icon {
    animation: auto-focus-icon-active 10s infinite var(--seq-delay) ease-in-out;
}
.fln-timeline__step--active .fln-timeline__content {
    animation: auto-focus-content-active 10s infinite var(--seq-delay) ease-in-out;
}

/* Étapes Inactives (Étapes 2, 3, 4) */
.fln-timeline__step:not(.fln-timeline__step--active):not(.fln-timeline__step--result) .fln-timeline__icon {
    animation: auto-focus-icon-inactive 10s infinite var(--seq-delay) ease-in-out;
}
.fln-timeline__step:not(.fln-timeline__step--active):not(.fln-timeline__step--result) .fln-timeline__content {
    animation: auto-focus-content 10s infinite var(--seq-delay) ease-in-out;
}

/* Désactivation de l'animation auto si l'utilisateur survole la timeline pour reprendre le contrôle */
.fln-modern-timeline:hover .fln-timeline__icon,
.fln-modern-timeline:hover .fln-timeline__content {
    animation: none !important;
}

/* Keyframes pour simuler le survol automatique (Décalage, Glow, Échelle) */
@keyframes auto-focus-icon-active {
    0%, 20%, 100% {
        transform: translateX(0) scale(1) rotate(0deg);
        box-shadow: 0 10px 25px -5px rgba(242, 101, 34, 0.4);
    }
    4%, 16% {
        transform: translateX(8px) scale(1.1) rotate(2deg);
        box-shadow: 0 15px 30px -5px rgba(242, 101, 34, 0.6);
    }
}

@keyframes auto-focus-icon-inactive {
    0%, 20%, 100% {
        transform: translateX(0) scale(1) rotate(0deg);
        border-color: #f1f5f9;
        color: #94a3b8;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
    4%, 16% {
        transform: translateX(8px) scale(1.1) rotate(2deg);
        border-color: var(--fln-primary);
        color: var(--fln-primary);
        box-shadow: 0 10px 20px -5px rgba(242, 101, 34, 0.2);
    }
}

@keyframes auto-focus-content-active {
    0%, 20%, 100% {
        transform: translateX(0);
        background: #ffffff;
        border-color: rgba(242, 101, 34, 0.1);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    }
    4%, 16% {
        transform: translateX(8px);
        background: #ffffff;
        border-color: rgba(242, 101, 34, 0.2);
        box-shadow: 0 20px 25px -5px rgba(242, 101, 34, 0.12);
    }
}

@keyframes auto-focus-content {
    0%, 20%, 100% {
        transform: translateX(0);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }
    4%, 16% {
        transform: translateX(8px);
        background: #ffffff;
        border-color: rgba(242, 101, 34, 0.15);
        box-shadow: 0 20px 25px -5px rgba(242, 101, 34, 0.08);
    }
}
.fln-otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(44px, 1fr));
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.fln-otp-box {
    height: 58px;
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: #0f172a;
    outline: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    caret-color: transparent;
}

.fln-otp-box:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.fln-otp-box:focus {
    border-color: #f26522;
    background: #fff7f3;
    box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.14), 0 12px 24px rgba(242, 101, 34, 0.10);
    transform: translateY(-1px);
}

.fln-otp-box.is-filled {
    border-color: rgba(242, 101, 34, 0.35);
    background: linear-gradient(180deg, #fffaf7 0%, #fff3ec 100%);
}

@media (max-width: 640px) {
    .fln-otp-boxes {
        gap: 0.5rem;
    }

    .fln-otp-box {
        height: 52px;
        border-radius: 14px;
        font-size: 1.2rem;
    }
}
.fln-field-feedback {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.fln-field-feedback--error {
    color: #b42318;
}

input.is-invalid {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.15);
}