.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 13px;
    color: #8a96a3;
}

.back-home:hover {
    color: #2f8cff;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #0d1117;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.login-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.login-sub {
    font-size: 13px;
    color: #8a96a3;
    margin-bottom: 20px;
}

.login-error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff5c5c;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 13px;
}

.login-success {
    background: rgba(47, 140, 255, 0.12);
    color: #7db4ff;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-input {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1117;
    color: #fff;
    font-size: 14px;
}

.login-input:focus {
    border-color: #2f8cff;
    outline: none;
}

.password-field {
    position: relative;
}

.password-field__input {
    width: 100%;
    padding-right: 48px;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8a96a3;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.2s ease, background 0.2s ease;
}

.password-toggle:hover {
    background: rgba(47, 140, 255, 0.12);
    color: #2f8cff;
}

.password-toggle:focus-visible {
    outline: 2px solid #2f8cff;
    outline-offset: -2px;
}

.password-toggle__icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle__icon--hide {
    display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__icon--show {
    display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__icon--hide {
    display: block;
}

.login-submit {
    margin-top: 5px;
    padding: 12px;
    border-radius: 10px;
    background: #2f8cff;
    color: #fff;
    font-weight: 500;
    transition: 0.2s;
}

.login-submit:hover {
    background: #1f6fe0;
}

.divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    color: #666;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.divider span {
    padding: 0 10px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #0b1117;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}

.auth-btn:hover {
    border-color: #2f8cff;
}

.auth-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.login-footer-links {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #8a96a3;
}

.login-footer-links a {
    color: #7db4ff;
}

.login-footer-links a:hover {
    color: #a6cbff;
}

.auth-btn iconify-icon {
    font-size: 16px;
}

.auth-btn-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
}

@media (max-width: 600px) {
    .login-card {
        padding: 20px;
    }
}

.caps-hint {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 179, 71, 0.7);
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.caps-hint.active {
    opacity: 1;
    transform: translateY(0);
}