/* ===== AUTH PAGE (REGISTER & LOGIN) ===== */
.auth-page {
    min-height: 100vh;
    background: #f4fbf7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header img {
    width: 60px;
    margin-bottom: 12px;
}

.auth-header h2 {
    font-size: 26px;
    color: #2e7d32;
}

.auth-header p {
    font-size: 14px;
    color: #777;
    margin-top: 6px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 6px;
}

.auth-form input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: border 0.2s ease;
}

.auth-form input:focus {
    border-color: #2e7d32;
}

.auth-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-size: 15px;
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.auth-footer a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.error-message {
    color: #e53935;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ===== AUTH PAGE ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-options {
    text-align: right;
    margin-bottom: 14px;
}

.forgot-link {
    font-size: 13px;
    color: #43a047;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    margin-top: 14px;
    padding: 10px 14px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 12px;
    font-size: 13px;
    display: none;
    text-align: center;
    animation: fadeIn 0.4s ease forwards;
}
