.auth-hero {
    width: 100%;
    max-width: 100vw;
    min-height: 40vh;
    padding: 6rem 2rem 3.5rem;
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                url('https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.auth-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.auth-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.auth-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    color: #e9ecff;
}

.auth-section {
    width: 100%;
    max-width: 100vw;
    padding: 4rem 2rem 6rem;
    background-color: #f7fafc;
    box-sizing: border-box;
}

.auth-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 1rem;
}

.auth-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.auth-description {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0 0 1.75rem 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2d3748;
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    color: #2d3748;
    background-color: #fdfdfd;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
    background-color: #ffffff;
}

.auth-helper {
    font-size: 0.8rem;
    color: #718096;
    line-height: 1.6;
    margin-top: 0.25rem;
}

.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.6);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.auth-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.65);
}

.auth-button:active {
    transform: translateY(0);
    box-shadow: 0 7px 18px rgba(102, 126, 234, 0.55);
}

.auth-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.auth-message {
    margin-top: 0.85rem;
    min-height: 1.2em;
    font-size: 0.88rem;
}

.auth-message--success {
    color: #2f855a;
}

.auth-message--error {
    color: #e53e3e;
}

.auth-footer-text {
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: #4a5568;
    text-align: center;
}

.auth-footer-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link:hover {
    text-decoration: underline;
}

/* Account Info (when logged in) */
.auth-account-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.auth-account-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.auth-account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.auth-account-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.auth-account-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    flex-shrink: 0;
}

.auth-account-value {
    font-size: 0.9rem;
    color: #2d3748;
    word-break: break-all;
    text-align: right;
    font-weight: 500;
}

.auth-account-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-button-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.auth-button-danger:hover {
    background: linear-gradient(135deg, #c53030 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
}

.auth-button-danger:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(229, 62, 62, 0.3);
}

.auth-button-secondary {
    background: #ffffff;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.auth-button-secondary:hover {
    background: #f7fafc;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

/* Google Sign-in Button */
.auth-google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #2d3748;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    margin-bottom: 1.25rem;
}

.auth-google-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.auth-google-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.auth-google-icon {
    flex-shrink: 0;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.auth-divider-text {
    padding: 0 1rem;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .auth-hero {
        padding: 5rem 2rem 3rem;
    }

    .auth-hero-title {
        font-size: 2.1rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .auth-hero {
        padding: 4.5rem 1.5rem 2.75rem;
        padding-top: 110px;
        min-height: 35vh;
    }

    .auth-hero-title {
        font-size: 1.9rem;
    }

    .auth-hero-subtitle {
        font-size: 1.02rem;
    }

    .auth-section {
        padding: 3.5rem 1.5rem 4rem;
    }

    .auth-container {
        padding: 0;
    }

    .auth-card {
        padding: 2.1rem 1.75rem;
        border-radius: 18px;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .auth-hero {
        padding: 4rem 1rem 2.5rem;
        padding-top: 100px;
    }

    .auth-hero-title {
        font-size: 1.7rem;
    }

    .auth-section {
        padding: 3rem 1rem 3.5rem;
    }

    .auth-card {
        padding: 1.8rem 1.4rem;
    }
}

