.auth-container {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.writers-auth {
    margin-top: 40px;
}

.auth-forms {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.auth-form {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-form[style*="display: none"] {
    transform: translateY(10px);
}

.auth-form[style*="display: block"] {
    transform: translateY(0);
}

.auth-form .form-group {
    margin-bottom: 24px;
}

.auth-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.auth-form input {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.auth-form input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15);
    background: #fff;
    outline: none;
}

.auth-form .form-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-form .btn {
    padding: 14px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.auth-form .btn:hover {
    background: linear-gradient(135deg, #ff8e53 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.forgot-password, .signup-link, .resend-verification, .login-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #ff6b6b;
    transition: color 0.3s, transform 0.2s;
}

.forgot-password:hover, .signup-link:hover, .resend-verification:hover, .login-link:hover {
    color: #ff8e53;
    text-decoration: underline;
}

.signup-link, .resend-verification, .login-link {
    background: none;
    border: none;
    cursor: pointer;
}

.writers-benefits, .referral-program {
    margin: 40px auto 60px;
    max-width: 1200px;
    padding: 0 20px;
}

.writers-benefits h3, .referral-program h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.writers-benefits p, .referral-program p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1rem;
    color: #555;
}

.error-message {
    background: #ffe6e6;
    color: #d32f2f;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background: #e6ffe6;
    color: #2e7d32;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 0 15px;
    }

    .writers-auth {
        margin-top: 30px;
    }

    .auth-forms {
        padding: 20px;
    }

    .auth-form input {
        padding: 12px;
        font-size: 0.95rem;
    }

    .auth-form .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .form-links {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .forgot-password, .signup-link, .resend-verification, .login-link {
        font-size: 0.85rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .writers-benefits, .referral-program {
        margin: 30px auto 50px;
    }
}

/* Existing styles assumed to be present */
/* Styles for the verification notice */
#verification-notice {
    z-index: 50;
    animation: slideDown 0.3s ease-out;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#verification-notice p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

#verification-notice button {
    outline: none;
    transition: color 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}