﻿body.auth-page {
    background: #101113;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-page .account-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 65px 24px;
}

.auth-page .account-panel {
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
    background: #15171a;
    border: 1px solid #30343b;
    border-top: 2px solid #438fc4;
    border-radius: 4px;
    padding: 38px;
    box-shadow: none;
    text-align: left;
}

.auth-page .eyebrow {
    display: block;
    color: #438fc4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.auth-page .account-panel h1 {
    color: #fff;
    font-size: 34px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.auth-page .account-panel > p {
    color: #a6adb6;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.auth-page form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-page [hidden] {
    display: none !important;
}

.auth-page form label {
    color: #d9dde2;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 9px;
}

.auth-page form input:not([type="checkbox"]) {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    background: #101113;
    border: 1px solid #343940;
    border-radius: 3px;
    color: white;
    font-size: 14px;
    padding: 0 14px;
    margin-bottom: 22px;
    outline: none;
    transition: border-color .15s;
}

.auth-page form input:focus {
    border-color: #438fc4;
}

.auth-page form input::placeholder {
    color: #737b85;
}

.auth-page .password-field {
    position: relative;
    margin-bottom: 22px;
}

.auth-page .password-field input {
    margin-bottom: 0 !important;
    padding-right: 65px !important;
}

.auth-page .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #a6adb6;
    cursor: pointer;
    font-size: 11px;
    padding: 8px;
}

.auth-page .password-toggle:hover {
    color: #438fc4;
}

.auth-page .auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.auth-page .remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.auth-page #remember-me {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #438fc4;
}

.auth-page .auth-options a,
.auth-page .account-links a {
    color: #438fc4;
    text-decoration: none;
    font-size: 12px;
}

.auth-page .auth-options a:hover,
.auth-page .account-links a:hover {
    text-decoration: underline;
}

.auth-page form .btn {
    width: 100%;
    min-height: 48px;
    background: #438fc4;
    border: 1px solid #438fc4;
    border-radius: 3px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.auth-page form .btn:hover {
    background: #367dad;
}

.auth-page form .btn:disabled {
    opacity: .5;
    cursor: wait;
}

.auth-page .account-links {
    border-top: 1px solid #30343b;
    padding-top: 24px;
    margin-top: 26px;
    text-align: center;
    color: #a6adb6;
    font-size: 12px;
    line-height: 1.8;
}

.auth-page .account-message:empty {
    display: none;
}

.auth-page .account-message {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.6;
}

.auth-signature {
    margin-top: 38px;
    text-align: center;
}

.auth-signature .slashes {
    display: inline-flex;
    gap: 6px;
    opacity: .65;
}

.auth-signature .slashes i {
    display: block;
    width: 9px;
    height: 28px;
    background: #438fc4;
    transform: skewX(-30deg);
}

.auth-signature p {
    color: #858e99;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 16px;
}

@media (max-width: 500px) {
    .auth-page .account-panel {
        padding: 28px 22px;
    }

    .auth-page .account-section {
        padding: 40px 18px;
    }
}

.auth-page .password-field {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.auth-page .password-field input {
    width: 100% !important;
    padding-right: 50px !important;
}

.auth-page button.password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #858e99 !important;
    cursor: pointer;
    z-index: 2;
}

.auth-page button.password-toggle:hover {
    color: #438fc4 !important;
}

.auth-page .password-toggle svg {
    pointer-events: none;
}
