.auth-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f8fafc;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 24px;
    padding: 42px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #111827;
}

.auth-header p {
    color: #6b7280;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-password-wrap {
    position: relative;
}

.pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 4px;
}

.verify-notice {
    padding: 14px;
    background: #fef3c7;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #92400e;
}

.auth-switch {
    margin-top: 22px;
    text-align: center;
    color: #64748b;
}

.auth-switch a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 28px;
        border-radius: 20px;
    }

    .auth-header h1 {
        font-size: 1.7rem;
    }
}
.auth-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}

.forgot-password-link {
    text-align: right;
    margin-top: 6px;
}

.forgot-password-link a {
    font-size: 0.85rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password-link a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Google OAuth styling */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider::before {
    margin-right: 12px;
}

.auth-divider::after {
    margin-left: 12px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.btn-google:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.google-icon {
    width: 20px;
    height: 20px;
    display: block;
}