:root {
    --cream: #FFF8E1;
    /* soft cream */
    --light-green: #8BC34A;
    /* main light green */
    --green-deep: #689F38;
    /* deeper accent */
    --muted: #666666;
    --card-bg: #ffffff;
    --input-bg: #fbfbf8;
    --border: #e9e6dd;
}

.auth-section {
    margin-top: 30px;
    background: linear-gradient(#fafafa 100%);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    /* max-width: 600px; */
    margin: 0 auto;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--green-deep) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.auth-header h2 {
    font-size: 32px;
    color: var(--green-deep);
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-header p {
    color: var(--muted);
    font-size: 16px;
}

.auth-form .form-group {
    /* margin-bottom: 25px; */
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-form .half-width {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.auth-form label i {
    margin-right: 8px;
    color: var(--light-green);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--input-bg);
    margin-bottom: 0px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--light-green);
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(139, 195, 74, 0.12);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--light-green);
}

.checkbox-label a {
    color: var(--green-deep);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--green-deep);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--light-green);
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--green-deep) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-auth:hover {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--light-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(104, 159, 56, 0.18);
}

.btn-auth i {
    font-size: 20px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 15px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.divider span {
    background: var(--card-bg);
    padding: 0 15px;
    color: #999;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.btn-social {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    background: var(--card-bg);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #333;
}

.btn-google:hover {
    border-color: #4285F4;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.08);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    color: var(--muted);
    font-size: 14px;
}

.auth-footer .switch-link {
    color: var(--green-deep);
    font-weight: 700;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .auth-card {
        padding: 40px 30px;
    }

    .auth-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .auth-container {
        min-width: 500px;
    }
    .auth-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .auth-header h2 {
        font-size: 26px;
    }

    .auth-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 510px) {
    .auth-section{
        width: 100%;
        .container{
            width: 100%;
            margin: 0px 0px;
        }
    }
    .auth-container {
        min-width: 100%;
    }
}