.auth-fullscreen-matrix {
    width: 100%;
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    box-sizing: border-box;
}

.auth-logo-container {
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
    pointer-events: none;
}

.auth-logo {
    width: 88px;
    max-width: 105px;
    display: inline-block;
    border: none;
    box-shadow: none;
    padding: 0 !important;
    margin: 0 !important;
}

.auth-wrapper {
    background-color: transparent;
    color: #ffffff;
    width: 100%;
    max-width: 560px;
    margin: 0 auto !important;
    padding: 0 20px !important;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 102px);
    overflow: visible;
}

.auth-copy,
.auth-view-copy {
    width: 100%;
    max-width: 540px;
    margin: 0 auto 20px !important;
    text-align: center;
}

.auth-title {
    color: #ffb000;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 8px !important;
    text-align: center;
}

.auth-subtitle {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.35;
    margin: 0 !important;
    text-align: center;
}

.auth-subtitle strong {
    color: #ffffff;
}

.auth-form,
.auth-form-panel {
    width: 100%;
    max-width: 400px;
    margin: 0 auto !important;
}

.auth-form .form-group {
    margin-bottom: 14px !important;
    position: relative;
}

.auth-form label {
    display: block;
    color: #dddddd;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.35;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.auth-form input:focus {
    border-color: #ffb000;
    box-shadow: 0 0 0 2px rgba(255, 176, 0, 0.2);
    outline: none;
}

.auth-form input::placeholder {
    color: #8a8a8a;
}

.auth-otp-input {
    text-align: center !important;
    font-size: 24px !important;
    letter-spacing: 8px !important;
    font-weight: 700 !important;
    padding-left: 22px !important;
}

.auth-submit-btn {
    width: 100%;
    background-color: #ffb000;
    color: #000000;
    border: none;
    padding: 13px 14px !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    margin-top: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.auth-submit-btn:hover {
    background-color: #e09b00;
    color: #000000;
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-link-row {
    text-align: center;
    margin-top: 14px !important;
}

.auth-link-row a,
.auth-link-btn,
#forgotPasswordLink {
    background: none;
    border: none;
    color: #00bcd4;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.auth-link-row a:hover,
.auth-link-btn:hover,
#forgotPasswordLink:hover {
    color: #00bcd4;
    text-decoration: none;
    background-color: transparent;
}

.auth-footer-links {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #888888;
}

.auth-footer-links a {
    color: #ffb000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.auth-group-error input {
    border-color: #ff4444 !important;
    background-color: #2b1414;
}

.auth-inline-error {
    color: #ff4444;
    font-size: 12px;
    line-height: 1.25;
    margin-top: 5px;
    display: block;
}

.auth-global-message {
    max-width: 400px;
    margin: 0 auto 12px !important;
    padding: 8px 11px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.auth-global-message.error {
    background-color: rgba(255, 68, 68, 0.13);
    color: #ff5555;
    border: 1px solid rgba(255, 68, 68, 0.85);
}

.auth-global-message.success {
    display: none !important;
}

.auth-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px !important;
}

.auth-form .checkbox-group input[type="checkbox"] {
    width: auto !important;
    min-width: 18px;
    height: 18px;
    padding: 0 !important;
    margin: 2px 0 0;
    cursor: pointer;
    transform: none;
    accent-color: #ffb000;
}

.auth-form .checkbox-label {
    display: inline !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 13px !important;
    line-height: 1.35;
    color: #aaaaaa !important;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0 !important;
    flex: 1;
    font-weight: 500 !important;
}

.auth-form .checkbox-label a {
    color: #ffb000;
    text-decoration: none;
}

.auth-form .checkbox-label a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.auth-form .checkbox-label .required {
    color: #ff4444;
}

.auth-form .checkbox-group .auth-inline-error {
    width: 100%;
    margin-left: 28px;
    margin-top: 2px;
}

.auth-consent-block {
    display: none;
    margin: 2px 0 14px;
}

.auth-consent-block.is-visible {
    display: block;
}

.password-toggle-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-container input {
    padding-right: 50px !important;
}

.password-toggle-container button {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #aaaaaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
}

.password-toggle-container button:hover {
    color: #ffffff;
}

@media (max-width: 480px) {
    .auth-fullscreen-matrix {
        padding: 0px 17px;
        align-items: center;
        overflow: hidden !important;
    }

    .auth-logo-container {
        top: 18px;
    }

    .auth-wrapper {
        max-width: 100%;
        padding: 0 !important;
        max-height: calc(100vh - 78px);
    }

    .auth-copy,
    .auth-view-copy {
        max-width: 100%;
        margin-bottom: 14px !important;
    }

    .auth-title {
        font-size: 25px;
        line-height: 1.1;
        margin-bottom: 6px !important;
    }

    .auth-subtitle {
        font-size: 13px;
        line-height: 1.3;
    }

    .auth-form,
    .auth-form-panel,
    .auth-global-message {
        max-width: 100%;
    }

    .auth-form .form-group {
        margin-bottom: 12px !important;
    }

    .auth-form label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .auth-form input {
        padding: 10px 13px;
        font-size: 14px;
    }

    .auth-otp-input {
        font-size: 22px !important;
        letter-spacing: 7px !important;
    }

    .auth-submit-btn {
        padding: 12px 14px !important;
        font-size: 15px;
        margin-top: 6px !important;
    }

    .auth-link-row {
        margin-top: 12px !important;
    }

    .auth-global-message {
        padding: 7px 10px !important;
        margin-bottom: 10px !important;
        font-size: 12.5px !important;
        line-height: 1.3 !important;
    }

    .auth-consent-block {
        margin-bottom: 12px;
    }

    .auth-form .checkbox-group {
        gap: 8px;
        margin-bottom: 10px !important;
    }

    .auth-form .checkbox-label {
        font-size: 12px !important;
        line-height: 1.3;
    }
}

@media (max-height: 680px) {
    .auth-logo-container {
        top: 18px;
    }

    .auth-copy,
    .auth-view-copy {
        margin-bottom: 10px !important;
    }

    .auth-title {
        font-size: 23px;
        margin-bottom: 4px !important;
    }

    .auth-subtitle {
        font-size: 12.5px;
        line-height: 1.25;
    }

    .auth-form .form-group {
        margin-bottom: 9px !important;
    }

    .auth-form label {
        margin-bottom: 5px;
    }

    .auth-form input {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .auth-submit-btn {
        padding-top: 11px !important;
        padding-bottom: 11px !important;
    }

    .auth-link-row {
        margin-top: 10px !important;
    }

    .auth-global-message {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        margin-bottom: 8px !important;
    }
}
