/* Authentication Pages Styles */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 550px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tenant-primary-color, #02302C);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.auth-form .form-floating {
    margin-bottom: 1rem;
}

.auth-password-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.auth-password-wrap .form-floating {
    margin-bottom: 0;
}

.auth-password-toggle {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0.35rem 0.4rem;
    line-height: 1;
    border-radius: 0.25rem;
    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--tenant-primary-color, #02302C);
    background-color: var(--tenant-primary-soft, rgba(2, 48, 44, 0.08));
}

.auth-password-toggle:focus-visible {
    outline: 2px solid var(--tenant-primary-color, #02302C);
    outline-offset: 2px;
}

.auth-password-toggle .bi {
    font-size: 1.15rem;
    vertical-align: -0.125em;
}

.auth-form .form-control {
    border: 1px solid var(--tenant-primary-soft, #E7F1E7);
    background-color: #f8f9fa;
}

.auth-form .form-control:focus {
    border-color: var(--tenant-primary-color, #02302C);
    background-color: white;
    box-shadow: 0 0 0 0.25rem var(--tenant-primary-ring, rgba(2, 48, 44, 0.25));
}

.auth-form .form-label {
    color: #495057;
}

.auth-form .checkbox {
    margin-bottom: 1.5rem;
}

.auth-form .form-check-input {
    border-color: var(--tenant-primary-color, #02302C);
}

.auth-form .form-check-input:checked {
    background-color: var(--tenant-primary-color, #02302C);
    border-color: var(--tenant-primary-color, #02302C);
}

.auth-form .btn-primary {
    margin-bottom: 1.5rem;
}

.auth-links {
    text-align: center;
}

.auth-links a {
    color: var(--tenant-primary-color, #02302C);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-external {
    margin-top: 0.25rem;
}

.auth-external-form {
    margin: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #dadce0;
}

.auth-btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    color: #3c4043;
    font-family: "Google Sans", "Roboto", system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-btn-google:hover:not(:disabled),
.auth-btn-google:focus:not(:disabled) {
    background: #f8f9fa;
    border-color: #d2e3fc;
    color: #202124;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}

.auth-btn-google:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.auth-btn-google__icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
        margin: 1rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }
}