/* css/auth/client_auth.css */

/* ========================================================
   WSPACE AI — CLIENT AUTH
   css/auth/client_auth.css
======================================================== */


/* ========================================================
   RESET & GLOBAL
======================================================== */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family:
        'Segoe UI',
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    color: #fff;

    background:
        radial-gradient(
            circle at top,
            #151515 0%,
            #080808 42%,
            #020202 100%
        );

    overflow-x: hidden;
    overflow-y: auto;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ========================================================
   HEADER
======================================================== */

.client-login-header {
    flex-shrink: 0;
    width: 100%;

    background: rgba(2, 2, 2, 0.92);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.client-login-header-container {
    width: 100%;
    max-width: 1400px;
    min-height: 70px;

    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ========================================================
   LOGO
======================================================== */

.client-login-logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.client-login-logo:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.client-login-logo img {
    display: block;

    width: 46px;
    height: 46px;

    object-fit: cover;

    border-radius: 10px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25);
}


/* ========================================================
   HOME
======================================================== */

.client-login-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 38px;

    padding: 8px 14px;

    color: #d6d6d6;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 9px;

    text-decoration: none;

    font-size: 0.86rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.client-login-home svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.client-login-home:hover {
    color: #fff;

    background: rgba(255, 255, 255, 0.075);

    border-color: rgba(255, 255, 255, 0.20);

    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.20);
}

.client-login-home:active {
    transform: translateY(0);
}


/* ========================================================
   MAIN
======================================================== */

main {
    flex: 1;

    width: 100%;
    min-height: 0;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 34px 20px 42px;
}


/* ========================================================
   LOGIN CARD
======================================================== */

.login-container {
    width: 100%;
    max-width: 560px;

    padding: 34px 36px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 20px;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.48),
        0 8px 28px rgba(0, 0, 0, 0.20);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    overflow: visible;
}


/* ========================================================
   LOGIN BRAND
======================================================== */

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 26px;
}

.login-brand-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.045)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);
}

.login-brand-icon svg {
    width: 27px;
    height: 27px;
}

.login-brand h1 {
    margin-bottom: 7px;

    color: #fff;

    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 700;

    text-align: center;
    letter-spacing: -0.01em;
}

.login-brand p {
    color: #999;

    font-size: 0.86rem;
    line-height: 1.5;

    text-align: center;
}


/* ========================================================
   MESSAGES
======================================================== */

.message {
    min-height: 0;

    margin: 0 0 16px;

    padding: 0 4px;

    color: #ff8c8c;

    font-size: 0.84rem;
    line-height: 1.5;
    font-weight: 600;

    text-align: center;
}


/* ========================================================
   FORM GROUPS
======================================================== */

.form-group {
    position: relative;

    width: 100%;

    margin-bottom: 14px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group > svg {
    position: absolute;

    top: 50%;
    left: 14px;

    width: 17px;
    height: 17px;

    color: #777;

    transform: translateY(-50%);

    pointer-events: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.form-group:focus-within > svg {
    color: #fff;
}


/* ========================================================
   FORM CONTROLS
======================================================== */

.login-container input,
.login-container select,
.login-container textarea {
    width: 100%;

    color: #fff;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    outline: none;

    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.4;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.login-container input,
.login-container select {
    height: 46px;

    padding: 0 42px;
}

.login-container textarea {
    min-height: 92px;

    padding: 13px 42px;

    resize: vertical;
}

.login-container input::placeholder,
.login-container textarea::placeholder {
    color: #777;
    opacity: 1;
}

.login-container input:hover,
.login-container select:hover,
.login-container textarea:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.login-container input:focus,
.login-container select:focus,
.login-container textarea:focus {
    background: rgba(255, 255, 255, 0.065);

    border-color: rgba(255, 255, 255, 0.40);

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.045),
        0 5px 18px rgba(0, 0, 0, 0.12);
}

.login-container select option {
    color: #fff;
    background: #111;
}


/* ========================================================
   PASSWORD WRAPPER
======================================================== */

.password-wrapper {
    position: relative;

    width: 100%;

    margin-bottom: 14px;
}


/* ========================================================
   PASSWORD TOGGLE
======================================================== */

.toggle-password {
    position: absolute;

    top: 50%;
    right: 8px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;

    background: transparent;

    border: none;

    border-radius: 7px;

    transform: translateY(-50%);

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.toggle-password:hover {
    color: #fff;

    background: rgba(255, 255, 255, 0.075);
}

.toggle-password:active {
    background: rgba(255, 255, 255, 0.11);
}

.toggle-password svg {
    width: 16px;
    height: 16px;
}



/* PASSWORD vISIBILITY */

/* ============================================================
   DYNAMIC PASSWORD INPUT
   ============================================================ */

.password-input-container {
    position: relative;
    width: 100%;
}

.password-input-container input {
    width: 100%;
    padding-right: 48px !important;
}

.password-input-container .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;

    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    transform: translateY(-50%);

    color: #888;
    background: transparent;

    border: 0;
    border-radius: 7px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.password-input-container .toggle-password:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.password-input-container .toggle-password:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.password-input-container .toggle-password svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}






/* ========================================================
   PRIMARY BUTTON
======================================================== */

.login-container button.primary-btn {
    width: 100%;
    min-height: 46px;

    margin-top: 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #111;

    background: #fff;

    border: 1px solid #fff;

    border-radius: 10px;

    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 22px rgba(0, 0, 0, 0.18);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-container button.primary-btn:hover {
    color: #fff;

    background: #171717;

    border-color: rgba(255, 255, 255, 0.70);

    transform: translateY(-1px);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.32);
}

.login-container button.primary-btn:active {
    transform: translateY(0);

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.24);
}

.login-container button.primary-btn:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}

.primary-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}


/* ========================================================
   LOGIN LINKS
======================================================== */

.login-links {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 9px;

    margin-top: 20px;
}

.login-links p {
    color: #888;

    font-size: 0.84rem;
    line-height: 1.5;

    text-align: center;
}

.login-links a {
    color: #fff;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.login-links a:hover {
    color: #fff;

    text-decoration: underline;

    text-underline-offset: 3px;
}

.signup-text {
    margin-top: 1px;
}


/* ========================================================
   FORGOT PASSWORD
======================================================== */

.forgot-container {
    display: none;

    width: 100%;

    margin-top: 24px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.forgot-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-bottom: 17px;

    color: #fff;

    font-size: 0.92rem;
    line-height: 1.4;
    font-weight: 700;

    text-align: center;
}

.forgot-title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.forgot-container .form-group {
    margin-bottom: 14px;
}

.forgot-container button {
    width: 100%;
    min-height: 44px;

    margin-top: 2px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.045)
        );

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 10px;

    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.forgot-container button:hover {
    background: rgba(255, 255, 255, 0.11);

    border-color: rgba(255, 255, 255, 0.23);

    transform: translateY(-1px);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.20);
}

.forgot-container button:active {
    transform: translateY(0);
}

.forgot-container button:disabled {
    opacity: 0.50;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}

.forgot-container button svg {
    width: 17px;
    height: 17px;
}

.countdown-text {
    min-height: 18px;

    margin-top: 13px;

    color: #888;

    font-size: 0.8rem;
    line-height: 1.5;

    text-align: center;
}

#countdown-container {
    width: 100%;

    min-height: 34px;

    margin-top: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    flex-wrap: wrap;
}

#new-code-btn {
    width: auto !important;
    min-height: 34px !important;

    margin: 0 !important;

    padding: 5px 11px !important;

    font-size: 0.76rem !important;
    line-height: 1.2 !important;

    border-radius: 8px !important;
}

#new-code-btn svg {
    width: 14px !important;
    height: 14px !important;
}


/* ========================================================
   RESET CODE FIELD
======================================================== */

.reset-field {
    width: 100%;

    margin-top: 4px;

    text-align: center;

    letter-spacing: 0.20em;

    font-weight: 700;
    font-size: 1rem !important;

    text-transform: uppercase;
}

.reset-field::placeholder {
    letter-spacing: normal;

    font-size: 0.86rem;

    font-weight: 400;
}


/* ========================================================
   RESET PASSWORD FIELDS
======================================================== */

#new-password-wrapper,
#confirm-password-wrapper {
    margin-top: 14px;
    margin-bottom: 14px;
}

#new-password-wrapper .form-group,
#confirm-password-wrapper .form-group {
    margin-bottom: 0;
}


/* ========================================================
   SIGNUP
   ONLY THIS CONTENT SCROLLS
======================================================== */

.signup-container {
    display: none;

    width: 100%;

    max-height: 58vh;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 2px 8px 4px 0;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(255, 255, 255, 0.28)
        transparent;
}

.signup-container::-webkit-scrollbar {
    width: 5px;
}

.signup-container::-webkit-scrollbar-track {
    background: transparent;
}

.signup-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);

    border-radius: 10px;
}

.signup-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.42);
}


/* ========================================================
   SIGNUP TITLE
======================================================== */

.signup-form-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: #fff;

    font-size: 0.92rem;
    line-height: 1.4;
    font-weight: 700;
}

.signup-form-title svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* ========================================================
   SIGNUP FORM SPACING
======================================================== */

.signup-container .form-group {
    margin-bottom: 14px;
}

.signup-container .password-wrapper {
    margin-bottom: 14px;
}

.signup-container .form-group:last-child,
.signup-container .password-wrapper:last-child {
    margin-bottom: 0;
}


/* ========================================================
   PASSWORD REQUIREMENTS
======================================================== */

.signup-password-requirements {
    margin: -4px 0 16px 2px;

    padding-left: 18px;

    color: #858585;

    font-size: 0.75rem;
    line-height: 1.65;
}

.signup-password-requirements li {
    margin-bottom: 2px;
}

.signup-password-requirements li:last-child {
    margin-bottom: 0;
}

.signup-password-requirements li.valid {
    color: #fff;
}

.signup-password-requirements li::marker {
    color: #666;
}


/* ========================================================
   EMAIL VERIFICATION
======================================================== */

.signup-verification-info {
    margin: 4px 0 17px;

    color: #999;

    font-size: 0.82rem;
    line-height: 1.6;

    text-align: center;
}

.signup-code-wrapper {
    position: relative;

    width: 100%;

    margin-bottom: 14px;
}

.signup-code-wrapper svg {
    position: absolute;

    top: 50%;
    left: 14px;

    width: 17px;
    height: 17px;

    color: #777;

    transform: translateY(-50%);

    pointer-events: none;
}

.signup-code-wrapper input {
    padding-left: 42px !important;

    text-align: center;

    letter-spacing: 0.18em;

    font-weight: 700;
}


/* ========================================================
   SIGNUP ACTIONS
======================================================== */

.signup-back {
    width: 100%;

    margin-top: 14px;

    padding: 8px;

    color: #999;

    background: transparent;

    border: none;

    cursor: pointer;

    font-family: inherit;

    font-size: 0.8rem;
    line-height: 1.4;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.signup-back:hover {
    color: #fff;
}

.signup-resend {
    display: none;

    width: 100%;

    margin-top: 8px;

    padding: 7px;

    color: #999;

    background: transparent;

    border: none;

    cursor: pointer;

    font-family: inherit;

    font-size: 0.78rem;
    line-height: 1.4;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.signup-resend:hover {
    color: #fff;
}

.signup-resend:disabled {
    opacity: 0.45;

    cursor: not-allowed;
}


/* ========================================================
   TURNSTILE
======================================================== */

.turnstile-wrapper {
    width: 100%;

    margin: 15px 0;

    display: flex;
    justify-content: center;
}


/* ========================================================
   BUTTON SPINNER
======================================================== */

.button-spinner {
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ========================================================
   FOOTER
======================================================== */

footer {
    flex-shrink: 0;

    width: 100%;

    padding: 18px 20px;

    background: rgba(0, 0, 0, 0.35);

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    text-align: center;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer p {
    color: #777;

    font-size: 0.75rem;
    line-height: 1.65;
}

footer a {
    color: #bdbdbd;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

footer a:hover {
    color: #fff;

    text-decoration: underline;

    text-underline-offset: 3px;
}


/* ========================================================
   ACCESSIBILITY
======================================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);

    outline-offset: 2px;
}


/* ========================================================
   RESPONSIVE — TABLET
======================================================== */

@media (max-width: 768px) {

    main {
        padding: 28px 16px 34px;
    }

    .login-container {
        max-width: 600px;

        padding: 30px 28px;
    }

    .signup-container {
        max-height: 60vh;
    }
}


/* ========================================================
   RESPONSIVE — MOBILE
======================================================== */

@media (max-width: 600px) {

    .client-login-header-container {
        min-height: 62px;

        padding: 0 15px;
    }

    .client-login-logo img {
        width: 40px;
        height: 40px;

        border-radius: 9px;
    }

    .client-login-home {
        min-height: 36px;

        padding: 7px 11px;

        font-size: 0.8rem;
    }

    .client-login-home svg {
        width: 15px;
        height: 15px;
    }

    main {
        padding: 18px 10px 26px;

        align-items: flex-start;
    }

    .login-container {
        max-width: 100%;

        padding: 26px 18px;

        border-radius: 16px;
    }

    .login-brand {
        margin-bottom: 22px;
    }

    .login-brand-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 11px;

        border-radius: 14px;
    }

    .login-brand-icon svg {
        width: 24px;
        height: 24px;
    }

    .login-brand h1 {
        font-size: 1.3rem;
    }

    .login-brand p {
        font-size: 0.82rem;
    }

    .message {
        margin-bottom: 14px;
    }

    .form-group {
        margin-bottom: 13px;
    }

    .login-container input,
    .login-container select {
        height: 44px;

        padding-left: 39px;
        padding-right: 39px;
    }

    .login-container textarea {
        min-height: 88px;

        padding-left: 39px;
        padding-right: 39px;
    }

    .password-wrapper {
        margin-bottom: 13px;
    }

    .login-container button.primary-btn {
        min-height: 45px;

        margin-top: 3px;
    }

    .login-links {
        gap: 8px;

        margin-top: 18px;
    }

    .forgot-container {
        margin-top: 21px;

        padding-top: 19px;
    }

    .forgot-title {
        margin-bottom: 15px;
    }

    .signup-container {
        max-height: 60vh;

        padding-right: 6px;
    }

    .signup-form-title {
        margin-bottom: 16px;
    }

    .signup-container .form-group {
        margin-bottom: 13px;
    }

    .signup-password-requirements {
        margin-bottom: 15px;
    }

    .signup-verification-info {
        margin-bottom: 15px;
    }

    .turnstile-wrapper {
        margin: 14px 0;
    }

    footer {
        padding: 15px 12px;
    }

    footer p {
        font-size: 0.72rem;
        line-height: 1.6;
    }
}


/* ========================================================
   RESPONSIVE — VERY SMALL PHONES
======================================================== */

@media (max-width: 380px) {

    .client-login-header-container {
        padding: 0 12px;
    }

    .client-login-home {
        padding: 6px 9px;

        font-size: 0.76rem;
    }

    main {
        padding: 14px 8px 22px;
    }

    .login-container {
        padding: 23px 15px;

        border-radius: 15px;
    }

    .login-brand {
        margin-bottom: 20px;
    }

    .login-brand h1 {
        font-size: 1.22rem;
    }

    .login-brand p {
        font-size: 0.78rem;
    }

    .login-container input,
    .login-container select {
        height: 43px;
    }

    .login-container button.primary-btn {
        min-height: 44px;
    }

    .forgot-container {
        margin-top: 19px;
        padding-top: 17px;
    }

    .signup-container {
        max-height: 59vh;
    }
}


/* ========================================================
   REDUCED MOTION
======================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}













/* ============================================================
   SWEETALERT2 — WSPACE AI DARK AUTH THEME
   ============================================================ */

.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    width: min(430px, calc(100vw - 32px)) !important;
    padding: 28px 24px !important;

    color: #fff !important;

    background:
        linear-gradient(
            145deg,
            rgba(28, 28, 28, 0.98),
            rgba(10, 10, 10, 0.98)
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    border-radius: 18px !important;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.65),
        0 8px 28px rgba(0, 0, 0, 0.35) !important;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.swal2-title {
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #fff !important;

    font-family:
        'Segoe UI',
        Tahoma,
        Geneva,
        Verdana,
        sans-serif !important;

    font-size: 1.22rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;

    color: #999 !important;

    font-family:
        'Segoe UI',
        Tahoma,
        Geneva,
        Verdana,
        sans-serif !important;

    font-size: 0.88rem !important;
    line-height: 1.6 !important;
}

.swal2-icon {
    margin: 0 auto 18px !important;
    transform: scale(0.85);
}

.swal2-icon.swal2-success {
    border-color: #fff !important;
    color: #fff !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #fff !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.swal2-icon.swal2-error {
    border-color: #ff8c8c !important;
    color: #ff8c8c !important;
}

.swal2-icon.swal2-warning {
    border-color: #d6d6d6 !important;
    color: #d6d6d6 !important;
}

.swal2-icon.swal2-info {
    border-color: #aaa !important;
    color: #aaa !important;
}

.swal2-actions {
    gap: 10px !important;
    margin: 22px auto 0 !important;
}

.swal2-styled {
    min-width: 110px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 20px !important;

    border: 1px solid transparent !important;
    border-radius: 10px !important;

    font-family:
        'Segoe UI',
        Tahoma,
        Geneva,
        Verdana,
        sans-serif !important;

    font-size: 0.86rem !important;
    font-weight: 700 !important;

    box-shadow: none !important;
}

.swal2-confirm {
    color: #111 !important;
    background: #fff !important;
    border-color: #fff !important;
}

.swal2-confirm:hover {
    color: #fff !important;
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.70) !important;
}

.swal2-cancel {
    color: #d6d6d6 !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.swal2-cancel:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.swal2-timer-progress-bar {
    background: rgba(255, 255, 255, 0.55) !important;
}


/* ============================================================
   RESET COUNTDOWN
   ============================================================ */

#countdown-container {
    width: 100%;
    min-height: 34px;
    margin-top: 13px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;

    color: #888;
}

#countdown {
    color: #d6d6d6;
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

#countdown-container > svg {
    width: 16px;
    height: 16px;
    color: #777;
    flex-shrink: 0;
}

#new-code-btn {
    width: auto !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 5px 11px !important;

    color: #d6d6d6 !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;

    font-size: 0.76rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

#new-code-btn:hover:not(:disabled) {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

#new-code-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#new-code-btn svg {
    width: 14px !important;
    height: 14px !important;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 575px) {

    .swal2-popup {
        width: calc(100vw - 24px) !important;
        padding: 24px 18px !important;
        border-radius: 16px !important;
    }

    .swal2-title {
        font-size: 1.1rem !important;
    }

    .swal2-html-container {
        font-size: 0.84rem !important;
    }

    .swal2-styled {
        min-width: 100px !important;
        min-height: 40px !important;
        padding: 9px 16px !important;
    }
}










