/* --- Base Form Container --- */
.auth-container {
    height: auto;
    width: auto;
    margin: 80px auto;
    padding: 30px 35px;
    background-color: #388e3c; /* lighter green card */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    color: #e8f5e9; /* light text */
    font-family: Arial, sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* --- Headings --- */
.auth-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #c8e6c9;
}

/* --- Form Elements --- */
.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-container label {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.auth-container input {
    padding: 0.7rem 0.9rem;
    box-sizing: border-box;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    background-color: #e8f5e9;
    color: #1b5e20;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.auth-container input:focus {
    border: 2px solid #81c784;
    box-shadow: 0 0 6px rgba(129, 199, 132, 0.5);
}

.auth-container .errorlist {
    list-style: none;
    padding: 0;
    margin: -0.5rem 0 0.5rem 0;
    color: #ffebee;
    font-size: 0.85rem;
}

.auth-container {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */
.auth-container button {
    padding: 0.75rem 1.5rem;
    background-color: #66bb6a;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 999px; /* pill style */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-container button:hover {
    background-color: #43a047;
    transform: translateY(-2px);
}

/* --- Links --- */
.auth-container p {
    text-align: center;
    margin-top: 1rem;
    color: #c8e6c9;
}

.auth-container p a {
    color: #a5d6a7;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-container p a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Divider --- */
.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    font-weight: bold;
    color: #c8e6c9;
}
.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #c8e6c9;
}
.divider::before {
    left: 0;
}
.divider::after {
    right: 0;
}

/* --- Google button --- */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #444;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid #dadce0;
    text-decoration: none;
    width: 100%;
    transition: all 0.2s ease;
}

.google-btn:hover {
    background-color: #f7f8f8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.google-btn img {
    height: 24px;
    width: 24px;
}

.google-container {
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

/* --- Responsive --- */
@media (max-width: 500px) {
    .auth-container {
        margin: 60px 1rem;
        padding: 25px 20px;
    }
}
