﻿.body-login {
    min-height: 100vh;
    background: linear-gradient(120deg, #101215 0%, #991A1E 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

    .body-login::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.09;
        background: url("https://www.transparenttextures.com/patterns/diamond-upholstery.png");
        mix-blend-mode: lighten;
        background-size: 21vw 21vw;
    }

@media (max-width: 600px) {
    .body-login::before {
        background-size: 36vw 36vw;
    }
}

/* LOGIN CARD */
.login-card {
    position: relative;
    width: 390px;
    max-width: 100%;
    padding: 42px 34px 30px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(24, 27, 33, 0.96) 0%, rgba(15, 18, 24, 0.97) 68%, rgba(43, 14, 20, 0.94) 100%);
    backdrop-filter: blur(16px) saturate(118%);
    -webkit-backdrop-filter: blur(16px) saturate(118%);
    border: 1.5px solid rgba(230, 82, 107, 0.34);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255,255,255,0.02) inset, 0 0 0 4px rgba(230, 82, 107, 0.05), 0 0 34px rgba(153, 26, 30, 0.22);
    color: #ededed;
    transition: box-shadow 0.24s ease, border-color 0.24s ease, transform 0.22s ease;
    z-index: 10;
    overflow: visible;
    animation: cardEnter 0.72s cubic-bezier(.28,1.18,.42,1) backwards;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: scale(0.982) translateY(24px);
        box-shadow: 0 0 0 0 rgba(230, 82, 107, 0);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.login-card:has(input:focus) {
    border-color: rgba(230, 82, 107, 0.58);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255,255,255,0.025) inset, 0 0 0 5px rgba(230, 82, 107, 0.09), 0 0 44px rgba(230, 82, 107, 0.18);
}

.login-card:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 82, 107, 0.46);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255,255,255,0.025) inset, 0 0 0 5px rgba(230, 82, 107, 0.07), 0 0 40px rgba(230, 82, 107, 0.16);
}

.cyber-border {
    position: absolute;
    inset: -4px;
    border-radius: 27px;
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(230, 82, 107, 0.16);
    box-shadow: 0 0 24px rgba(230, 82, 107, 0.13), 0 0 0 1px rgba(230, 82, 107, 0.08);
    transition: box-shadow 0.28s ease, border-color 0.24s ease;
}

    .cyber-border.pulse {
        box-shadow: 0 0 34px rgba(230, 82, 107, 0.22), 0 0 0 1px rgba(230, 82, 107, 0.16);
    }

/* HEADER */
.login-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.login-logo,
.login-logo-sor {
    display: inline-block;
    border-radius: 13px;
    background: transparent;
    opacity: 0.98;
    margin: 4px auto 18px;
    filter: drop-shadow(0 0 8px rgba(230, 82, 107, 0.18));
    transition: filter 0.2s ease, transform 0.18s ease;
}

.login-logo {
    max-height: 44px;
}

.login-logo-sor {
    max-width: 64%;
    padding-right: 13px;
}

    .login-logo:hover,
    .login-logo:focus,
    .login-logo-sor:hover,
    .login-logo-sor:focus {
        filter: drop-shadow(0 0 14px rgba(230, 82, 107, 0.30));
        transform: translateY(-1px) scale(1.018);
    }

.login-subtitle {
    color: rgba(230, 82, 107, 0.88);
    font-size: 0.98rem;
    margin-bottom: 10px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-shadow: 0 1px 10px rgba(153, 26, 30, 0.22);
}

.login-header h2 {
    font-size: 2.22rem;
    font-weight: 760;
    letter-spacing: 0.01em;
    color: #f3f4f6;
    text-shadow: 0 2px 18px rgba(153, 26, 30, 0.12);
    margin-bottom: 0.28em;
}

.accent-bar {
    width: 58px;
    height: 4px;
    margin: 0 auto 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff5b77 0%, #d72638 55%, #991A1E 100%);
    box-shadow: 0 0 16px rgba(230, 82, 107, 0.40), 0 0 4px rgba(153, 26, 30, 0.32);
    opacity: 0.94;
    animation: accentBarReveal 0.75s cubic-bezier(.47,1.3,.41,.81) backwards;
}

@keyframes accentBarReveal {
    from {
        width: 0;
        opacity: 0.15;
    }

    to {
        width: 58px;
        opacity: 0.94;
    }
}

/* FORM */
form {
    width: 100%;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 26px;
}

    /* QUI TI CONVIENE USARE DAVVERO DELLE ICON MATERIAL NELL'HTML.
   Ma se vuoi restare solo CSS, almeno evita le emoji. */
    .input-group.email::before,
    .input-group.password::before {
        position: absolute;
        left: -24px;
        top: 53%;
        transform: translateY(-50%);
        font-size: 0.94rem;
        font-weight: 700;
        color: rgba(230, 82, 107, 0.58);
        opacity: 0.95;
        pointer-events: none;
        transition: color 0.18s ease, opacity 0.18s ease;
        font-family: "Inter", "Segoe UI Symbol", sans-serif;
    }

    .input-group.email::before {
        content: "@";
    }

    .input-group.password::before {
        content: "•";
        font-size: 1.3rem;
    }

    .input-group.email input,
    .input-group.password input {
        padding-left: 10px;
    }

    .input-group input {
        width: 100%;
        padding: 14px 0 14px 0;
        background: transparent !important;
        border: none;
        border-bottom: 1.8px solid rgba(255,255,255,0.10);
        color: #f2f3f5;
        font-size: 1.05rem;
        outline: none;
        letter-spacing: 0.02em;
        font-weight: 500;
        transition: border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
    }

        .input-group input:focus {
            border-bottom: 2px solid;
            border-image: linear-gradient(90deg, #ff5b77 0%, #d72638 58%, #991A1E 100%) 1;
        }

    .input-group label {
        position: absolute;
        left: 0;
        top: 56%;
        transform: translateY(-50%);
        color: rgba(229, 216, 220, 0.74);
        font-size: 0.98rem;
        pointer-events: none;
        transition: .34s cubic-bezier(.74,.19,.29,1.20);
        letter-spacing: 0.01em;
        text-shadow: 0 1px 4px rgba(15, 18, 24, 0.30);
        padding-left: 1px;
    }

    .input-group input:focus ~ label,
    .input-group input:not(:placeholder-shown) ~ label {
        top: -14px;
        font-size: 0.79rem;
        color: #ff5b77;
        opacity: 1;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-shadow: 0 0 12px rgba(230, 82, 107, 0.22);
    }

    .input-group input:-webkit-autofill,
    .input-group input:-webkit-autofill:focus,
    .input-group input:-webkit-autofill:active,
    .input-group input:-webkit-autofill:hover {
        -webkit-text-fill-color: #ededed !important;
        border-bottom: 2px solid;
        border-image: linear-gradient(90deg,#ff5b77 0%,#d72638 58%,#991A1E 100%) 1;
        transition: background-color 5000s ease-in-out 0s;
        background-color: transparent !important;
    }

        .input-group input:-webkit-autofill::first-line {
            font-family: inherit;
            font-size: 1.05rem;
            color: #ededed;
        }

/* LINK */
.forgot {
    color: rgba(230, 82, 107, 0.88);
    text-decoration: none;
    font-size: 0.97rem;
    margin-bottom: 22px;
    display: inline-block;
    transition: color 0.18s ease, text-shadow 0.18s ease;
    letter-spacing: 0.01em;
}

    .forgot:hover {
        color: #ff6a84;
        text-shadow: 0 0 12px rgba(230, 82, 107, 0.22);
    }

/* CTA */
button {
    width: 100%;
    padding: 15px 0 14px;
    border: none;
    outline: none;
    background: linear-gradient(90deg, #b61f2d 0%, #d72638 54%, #f25773 100%);
    color: #f9fafb;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.16rem;
    font-weight: 740;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 26px rgba(153, 26, 30, 0.28), 0 0 0 1px rgba(255,255,255,0.03) inset;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.18s ease, filter 0.18s ease;
}

    button:hover,
    button:focus {
        transform: translateY(-1px);
        box-shadow: 0 14px 34px rgba(214, 38, 56, 0.30), 0 0 18px rgba(230, 82, 107, 0.18), 0 0 0 1px rgba(255,255,255,0.04) inset;
        filter: brightness(1.03);
    }

    button::after {
        content: "";
        position: absolute;
        top: 0;
        left: -90px;
        width: 48px;
        height: 100%;
        background: linear-gradient(110deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
        transform: skewX(-20deg);
        opacity: 0;
        transition: opacity 0.12s ease, left 0.5s ease;
        pointer-events: none;
    }

    button:hover::after {
        opacity: 1;
        left: 120%;
    }

    button:focus-visible,
    .forgot:focus-visible,
    .cyber-support-link:focus-visible,
    .microsoft-btn:focus-visible {
        outline: 2px solid #ff5b77;
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(214, 38, 56, 0.18);
    }

/* INFO */
.login-info {
    text-align: center;
    margin-top: 18px;
    letter-spacing: 0.02em;
    font-size: 1rem;
    line-height: 1.35;
}

.login-quote {
    display: block;
    font-size: 1.08rem;
    color: rgba(230, 82, 107, 0.90);
    font-weight: 650;
    font-style: italic;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 10px rgba(153, 26, 30, 0.18);
    margin-bottom: 8px;
    opacity: 0.98;
    quotes: "“" "”";
}

    .login-quote::before {
        content: open-quote;
    }

    .login-quote::after {
        content: close-quote;
    }

.login-info span:last-child {
    color: rgba(243, 244, 246, 0.92);
    font-size: 0.96rem;
    font-weight: 560;
    letter-spacing: 0.03em;
}

/* TOGGLE PASSWORD */
.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(173, 177, 182, 0.72);
    transition: color 0.18s ease, transform 0.18s ease;
}

    .toggle-password:hover {
        color: rgba(230, 82, 107, 0.88);
        transform: translateY(-50%) scale(1.04);
    }

.material-icons-outlined {
    font-size: 20px !important;
}

/* BACK */
.back-arrow {
    position: absolute;
    top: 16px;
    left: 16px;
    color: rgba(180, 184, 190, 0.78);
    cursor: pointer;
    font-size: 23px;
    transition: color 0.18s ease, transform 0.18s ease;
    z-index: 3;
}

    .back-arrow:hover {
        color: #ff5b77;
        transform: translateX(-3px);
    }

/* ALT AUTH */
.login-alt-auth {
    width: 100%;
    margin-top: 1.35rem;
    margin-bottom: 1.55rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
}

.divider-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0.05rem 0 0.1rem;
}

    .divider-login::before,
    .divider-login::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient( 90deg, rgba(255,255,255,0), rgba(214, 38, 56, 0.18), rgba(255,255,255,0) );
    }

    .divider-login span {
        font-size: 0.86rem;
        color: rgba(196, 194, 198, 0.72);
        font-weight: 650;
        letter-spacing: 0.03em;
        line-height: 1;
        text-transform: lowercase;
    }

.microsoft-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.82rem;
    padding: 0.95rem 1.25rem;
    text-decoration: none;
    font-weight: 620;
    font-size: 1rem;
    line-height: 1;
    color: #f4f2f4;
    border: 1px solid rgba(230, 82, 107, 0.20);
    background: linear-gradient(180deg, rgba(16, 18, 24, 0.96) 0%, rgba(11, 13, 17, 0.98) 100%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255,255,255,0.02) inset, 0 0 14px rgba(214, 38, 56, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
    margin-top: 14px;
}

    .microsoft-btn:hover,
    .microsoft-btn:focus {
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
        border-color: rgba(230, 82, 107, 0.34);
        background: linear-gradient(180deg, rgba(23, 16, 20, 0.98) 0%, rgba(14, 11, 14, 1) 100%);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34), 0 0 18px rgba(230, 82, 107, 0.10), 0 0 0 1px rgba(255,255,255,0.025) inset;
    }

    .microsoft-btn:active {
        transform: translateY(0);
    }

.microsoft-icon {
    width: 18px;
    height: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    flex-shrink: 0;
}

    .microsoft-icon span {
        width: 100%;
        height: 100%;
        border-radius: 1px;
    }

        .microsoft-icon span:nth-child(1) {
            background: #f25022;
        }

        .microsoft-icon span:nth-child(2) {
            background: #7fba00;
        }

        .microsoft-icon span:nth-child(3) {
            background: #00a4ef;
        }

        .microsoft-icon span:nth-child(4) {
            background: #ffb900;
        }

/* 2FA */
.fa-label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    margin-top: 7px;
    color: rgba(230, 82, 107, 0.88);
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.16em;
    padding-left: 4px;
    text-shadow: 0 1px 4px rgba(153, 26, 30, 0.18);
    user-select: none;
}

.fa-boxes-otp {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.fa-input {
    width: 43px;
    height: 56px;
    border-radius: 10px;
    border: 1.8px solid rgba(214, 38, 56, 0.42);
    background: linear-gradient(145deg, rgba(24, 20, 26, 0.98) 0%, rgba(31, 18, 24, 0.98) 100%);
    font-size: 1.56rem;
    font-family: 'Poppins', 'Fira Mono', 'Consolas', Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255,255,255,0.02) inset;
    outline: none;
    caret-color: #ff4160;
    letter-spacing: 0.08em;
    transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.12s ease;
}

    .fa-input:focus,
    .fa-input:active {
        border-color: rgba(255, 91, 119, 0.72);
        background: linear-gradient(145deg, rgba(35, 20, 27, 1) 0%, rgba(53, 20, 29, 0.98) 100%);
        box-shadow: 0 0 0 3px rgba(230, 82, 107, 0.18), 0 12px 24px rgba(0, 0, 0, 0.28), 0 0 14px rgba(230, 82, 107, 0.14);
        transform: scale(1.04);
    }

    .fa-input[data-error="true"] {
        border-color: #ff4160;
        box-shadow: 0 0 0 3px rgba(255, 65, 96, 0.14), 0 0 14px rgba(255, 65, 96, 0.18);
        animation: shake 0.13s 2;
        background: linear-gradient(145deg, rgba(49, 18, 29, 1) 0%, rgba(55, 20, 27, 0.98) 100%);
    }

@keyframes shake {
    0% {
        margin-left: 0rem;
    }

    25% {
        margin-left: 0.5rem;
    }

    75% {
        margin-left: -0.5rem;
    }

    100% {
        margin-left: 0rem;
    }
}

.fa-input::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.hide-on-2fa {
    display: inline-block !important;
}

    .hide-on-2fa.hide-2fa {
        display: none !important;
    }

.fa-error-message {
    color: rgba(230, 82, 107, 0.92);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    text-align: left;
    margin-top: 7px;
    margin-bottom: 12px;
    padding-left: 4px;
    background: none;
    border: none;
    box-shadow: none;
    text-shadow: 0 1px 5px rgba(153, 26, 30, 0.18);
    opacity: 0;
    display: none;
    animation: fadeInErr 0.23s cubic-bezier(.31,.92,.51,.91) forwards;
}

@keyframes fadeInErr {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* SWEETALERT ERROR */
.swal2-popup.swal2-modal {
    background: linear-gradient(145deg, rgba(24, 27, 33, 0.98) 0%, rgba(16, 18, 24, 0.99) 100%);
    color: #fff;
    border-radius: 22px !important;
    border: 1.5px solid rgba(230, 82, 107, 0.34);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), 0 0 0 4px rgba(230, 82, 107, 0.05);
    padding: 40px 32px 32px 32px !important;
    min-width: 410px;
    max-width: 96vw;
    transition: box-shadow 0.22s ease;
}

.swal2-title {
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: 0.02em;
    margin-bottom: 16px !important;
    text-align: center;
    text-shadow: 0 2px 14px rgba(230, 82, 107, 0.18);
}

.swal2-icon.swal2-error {
    border-color: #e6526b !important;
    color: #e6526b !important;
    background: rgba(230, 82, 107, 0.05) !important;
    box-shadow: 0 0 24px rgba(230, 82, 107, 0.16);
    margin-bottom: 20px !important;
}

    .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
        background-color: #e6526b !important;
        border-radius: 3px;
    }

.swal2-html-container {
    font-size: 1.06rem;
    color: #f3f4f6;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
}

.swal2-footer {
    color: rgba(230, 82, 107, 0.80) !important;
    font-size: 1rem !important;
    font-weight: 500;
    background: none !important;
    border-top: none !important;
    margin-top: 24px !important;
    text-shadow: 0 1px 8px rgba(230, 82, 107, 0.12);
    text-align: center;
}

.swal2-styled.swal2-confirm {
    background: linear-gradient(90deg, #d72638 0%, #b61f2d 100%);
    color: #fff;
    border-radius: 12px !important;
    font-size: 1.02rem;
    font-weight: 700;
    padding: 12px 34px 10px 34px;
    box-shadow: 0 10px 22px rgba(214, 38, 56, 0.20), 0 0 0 1px rgba(255,255,255,0.02) inset;
    letter-spacing: 0.02em;
    margin-top: 14px;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
}

    .swal2-styled.swal2-confirm:hover,
    .swal2-styled.swal2-confirm:focus {
        box-shadow: 0 14px 28px rgba(214, 38, 56, 0.26), 0 0 14px rgba(230, 82, 107, 0.16);
        transform: translateY(-1px);
    }

.swal2-popup.swal2-modal.swal2-show {
    animation: cyberErrorGlow 0.3s cubic-bezier(.38,.3,.44,1.12);
}

@keyframes cyberErrorGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 82, 107, 0);
    }

    60% {
        box-shadow: 0 0 44px 10px rgba(230, 82, 107, 0.14);
    }

    100% {
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), 0 0 0 4px rgba(230, 82, 107, 0.05);
    }
}

/* SWEETALERT SUCCESS */
.swal2-popup.swal-success-remediated {
    background: linear-gradient(145deg, rgba(20, 28, 24, 0.98) 0%, rgba(13, 20, 18, 0.99) 100%);
    color: #dff8ee;
    border-radius: 22px !important;
    border: 1.5px solid rgba(62, 168, 119, 0.38);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), 0 0 0 4px rgba(62, 168, 119, 0.05), 0 0 34px rgba(62, 168, 119, 0.12);
    padding: 40px 32px 32px 32px !important;
    min-width: 410px;
    max-width: 96vw;
    text-align: center !important;
    overflow: hidden;
    animation: cyberSuccessGlow 0.32s cubic-bezier(.38,.3,.44,1.12);
}

@keyframes cyberSuccessGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(62, 168, 119, 0);
    }

    60% {
        box-shadow: 0 0 40px 10px rgba(62, 168, 119, 0.14);
    }

    100% {
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), 0 0 0 4px rgba(62, 168, 119, 0.05), 0 0 34px rgba(62, 168, 119, 0.12);
    }
}

.swal2-popup.swal-success-remediated .swal2-icon.swal2-success {
    border-color: #3ea877 !important;
    color: #3ea877 !important;
    background: rgba(62, 168, 119, 0.05) !important;
    box-shadow: 0 0 20px rgba(62, 168, 119, 0.14);
    margin-bottom: 20px !important;
}

    .swal2-popup.swal-success-remediated .swal2-icon.swal2-success [class^="swal2-success-line"] {
        background-color: #3ea877 !important;
        border-radius: 3px;
    }

.swal2-popup.swal-success-remediated .swal2-title {
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    color: #e8fff5 !important;
    letter-spacing: 0.02em;
    margin-bottom: 16px !important;
    text-align: center;
    text-shadow: 0 2px 14px rgba(62, 168, 119, 0.15);
}

.swal2-popup.swal-success-remediated .swal2-html-container {
    font-size: 1.06rem;
    color: #effff7;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
}

.swal2-popup.swal-success-remediated .swal2-footer {
    color: rgba(62, 168, 119, 0.86) !important;
    font-size: 1rem !important;
    font-weight: 500;
    background: none !important;
    border-top: none !important;
    margin-top: 24px !important;
    text-shadow: 0 1px 8px rgba(62, 168, 119, 0.10);
    text-align: center;
}

.swal2-popup.swal-success-remediated .swal2-confirm.btn-glow-success {
    background: linear-gradient(90deg, #21835e 0%, #3ea877 100%) !important;
    color: #ecfff7 !important;
    border-radius: 12px !important;
    font-size: 1.02rem;
    font-weight: 700;
    padding: 12px 34px 10px 34px;
    box-shadow: 0 10px 22px rgba(62, 168, 119, 0.18), 0 0 0 1px rgba(255,255,255,0.02) inset;
    letter-spacing: 0.02em;
    margin-top: 14px;
    transition: box-shadow 0.18s ease, transform 0.16s ease;
}

    .swal2-popup.swal-success-remediated .swal2-confirm.btn-glow-success:hover,
    .swal2-popup.swal-success-remediated .swal2-confirm.btn-glow-success:focus {
        box-shadow: 0 14px 28px rgba(62, 168, 119, 0.24), 0 0 14px rgba(62, 168, 119, 0.16);
        transform: translateY(-1px);
    }

/* SUPPORT LINK */
.cyber-support-link {
    color: #ff5b77;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: color 0.16s ease;
    cursor: pointer;
    padding: 0 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.support-link-text {
    border-bottom: 1px dotted rgba(255, 91, 119, 0.40);
    transition: border-bottom 0.17s ease;
}

.cyber-support-link:hover .support-link-text,
.cyber-support-link:focus .support-link-text {
    border-bottom: 1px solid #ff5b77;
}

.cyber-support-link .material-icons-outlined {
    margin-left: 4px;
    margin-bottom: -2px;
    font-size: 1.22rem;
    color: #ff5b77;
    opacity: 0.9;
    transition: color 0.18s ease, filter 0.17s ease, opacity 0.16s ease;
    filter: drop-shadow(0 1px 3px rgba(255, 91, 119, 0.20));
    vertical-align: middle;
    pointer-events: none;
}

.cyber-support-link:hover,
.cyber-support-link:focus {
    color: #fff;
    text-shadow: 0 0 6px rgba(230, 82, 107, 0.14);
    outline: none;
}

    .cyber-support-link:hover .material-icons-outlined,
    .cyber-support-link:focus .material-icons-outlined {
        color: #fff;
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(230, 82, 107, 0.20));
    }

/* RESPONSIVE */
@media (max-width: 540px) {
    .login-card {
        width: 100%;
        padding: 24px 18px 20px;
        border-radius: 20px;
    }

    .login-header h2 {
        font-size: 1.8rem;
    }

    .login-subtitle {
        font-size: 0.87rem;
        letter-spacing: 0.14em;
    }

    .login-logo-sor {
        max-width: 72%;
        padding-right: 0;
    }

    .input-group {
        margin-bottom: 22px;
    }

        .input-group.email::before,
        .input-group.password::before {
            display: none;
        }

        .input-group.email input,
        .input-group.password input {
            padding-left: 0;
        }

    .microsoft-btn {
        margin-top: 10px;
    }

    .fa-boxes-otp {
        gap: 6px;
    }

    .fa-input {
        width: 36px;
        height: 46px;
        font-size: 1.12rem;
    }

    .fa-label,
    .fa-error-message {
        font-size: 0.88rem;
        letter-spacing: 0.10em;
    }

    .swal2-popup.swal2-modal,
    .swal2-popup.swal-success-remediated {
        min-width: 95vw;
        padding: 28px 16px 22px !important;
    }

        .swal2-title,
        .swal2-popup.swal-success-remediated .swal2-title {
            font-size: 1.4rem !important;
        }

        .swal2-html-container,
        .swal2-popup.swal-success-remediated .swal2-html-container {
            font-size: 0.96rem;
        }
}

.login-alt-auth {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.divider-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0.1rem 0 0.15rem 0;
}

    .divider-login::before,
    .divider-login::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient( 90deg, rgba(255,255,255,0), rgba(214, 38, 56, 0.20), rgba(255,255,255,0) );
    }

    .divider-login span {
        font-size: 0.92rem;
        color: #a6a1a8;
        font-weight: 600;
        letter-spacing: 0.02em;
        line-height: 1;
    }

.microsoft-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.82rem;
    padding: 0.95rem 1.25rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    color: #f4f2f4;
    border: 1px solid rgba(230, 82, 107, 0.22);
    background: linear-gradient(180deg, rgba(20, 22, 27, 0.94) 0%, rgba(13, 15, 19, 0.98) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255,255,255,0.02) inset, 0 0 18px rgba(214, 38, 56, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
    margin-top: 21px;
}

    .microsoft-btn:hover,
    .microsoft-btn:focus {
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
        border-color: rgba(230, 82, 107, 0.42);
        background: linear-gradient(180deg, rgba(25, 18, 24, 0.98) 0%, rgba(15, 11, 15, 1) 100%);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38), 0 0 22px rgba(230, 82, 107, 0.14), 0 0 0 1px rgba(255,255,255,0.03) inset;
    }

    .microsoft-btn:active {
        transform: translateY(0);
    }

.microsoft-icon {
    width: 18px;
    height: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    flex-shrink: 0;
}

    .microsoft-icon span {
        width: 100%;
        height: 100%;
        border-radius: 1px;
    }

        .microsoft-icon span:nth-child(1) {
            background: #f25022;
        }

        .microsoft-icon span:nth-child(2) {
            background: #7fba00;
        }

        .microsoft-icon span:nth-child(3) {
            background: #00a4ef;
        }

        .microsoft-icon span:nth-child(4) {
            background: #ffb900;
        }

