/* Auth pages: login, signup, password reset - blue bg, white card */
.auth-page {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px 20px 40px;
}
.auth-page .auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}
.auth-page .footer {
    flex-shrink: 0;
    text-align: center;
    color: white;
    padding: 24px 20px;
}
.auth-page .footer-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.auth-page .footer-subtitle {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.95;
}
.auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.auth-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 8px;
}
.auth-subtitle {
    font-size: 15px;
    color: #444;
    text-align: center;
    margin-bottom: 24px;
}
.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 16px;
    font-family: inherit;
    box-sizing: border-box;
}
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: #1e88e5;
}
.auth-form textarea {
    resize: vertical;
    min-height: 80px;
}
.auth-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-bottom: 12px;
}
.auth-btn-primary {
    background: linear-gradient(135deg, #ffc857 0%, #ffb143 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
}
.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}
.auth-btn-google {
    background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.8;
}
.google-icon {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.auth-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.auth-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.auth-success a {
    color: #1b5e20;
    word-break: break-all;
}
.auth-link-row {
    text-align: center;
    margin-bottom: 16px;
}
.auth-link-row a,
.auth-footer-text a,
.auth-part2-toggle a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 600;
}
.auth-link-row a:hover,
.auth-footer-text a:hover {
    text-decoration: underline;
}
.auth-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}
.auth-footer-text {
    text-align: center;
    font-size: 14px;
    color: #444;
    margin-top: 16px;
}
.auth-legal {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    text-align: center;
}
.auth-part2-toggle {
    text-align: center;
    margin-top: 16px;
}
.google-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
/* Make the Google rendered button fill width */
.google-btn-wrapper > div {
    width: 100% !important;
}
