.hide-form-data{
     display: none;
}
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003d29 0%, #005a3a 50%, #007a4d 100%);
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.auth-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 61, 41, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003d29, #005a3a, #007a4d);
}

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

.auth-header h2 {
    color: #003d29;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.form-container {
    margin-bottom: 25px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #003d29;
    box-shadow: 0 0 0 3px rgba(0, 61, 41, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

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

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

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #003d29;
}

.forgot-link {
    color: #003d29;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #005a3a;
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #003d29, #005a3a);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 61, 41, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.toggle-section {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #e1e5e9;
}

.toggle-section p {
    color: #666;
    margin: 0;
}

.toggle-btn {
    background: none;
    border: none;
    color: #003d29;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 16px;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: #005a3a;
}

.social-login {
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.social-btn:hover {
    border-color: #003d29;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 61, 41, 0.1);
}

.social-btn.google:hover,.social-btn.facebook:hover {
    border-color: #45a049;
    color: #45a049;
}
/* Animation for form transition */
.auth-form {
    animation: fadeInUp 0.5s ease-out;
}
.error-display{
    position:absolute;
    color: white;
    background-color: var(--secondary-color);
    z-index: 10;
    top: 5px;
    padding: 12px 20px;
    width: 60vw;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateX(50%);
    right: 50%;
    cursor: pointer;
}

/* Responsive Design */

@media (max-width: 767px) {
    .auth-container {
        padding: 0;
    }
    
    .auth-box {
        max-width: 100%;
        padding: 30px 10px;
        margin: 10px;
        border-radius: 12px;
    }
    .error-display{
        width: 90vw;
    }
}

@media (max-width: 480px) {
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        max-width: 200px;
    }
}

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

/* Focus states for accessibility */
.form-group input:focus-visible {
    outline: 2px solid #003d29;
    outline-offset: 2px;
}

.submit-btn:focus-visible {
    outline: 2px solid #003d29;
    outline-offset: 2px;
}

.toggle-btn:focus-visible {
    outline: 2px solid #003d29;
    outline-offset: 2px;
    border-radius: 4px;
} 