/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    margin: 0;
    background: #f8f9fa;
    color: #333;
}

/* Error message styling */
.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

/* Input placeholder styling */
.for-form-input::placeholder {
    color: #adb5bd;
    font-size: 14px;
}

/* Focus states for better accessibility */
.tab-button:focus,
.btn:focus,
.google-signup:focus {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

/* Form Container */
.form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4), 
            0 2px 6px rgba(118, 75, 162, 0.3);
    width: 400px;
    max-width: 90vw;
    text-align: left;
    animation: fadeIn 0.8s ease-in-out;
    margin: 2% auto;
    border: 1px solid #e9ecef;
}

.forgot-password {
    float: left;
    font-size: 14px;
color: #764ba2;
    text-decoration: none;
    margin-top: 10px;
}

.forgot-password:hover {
    text-decoration: underline;
}


/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Header */
h2 {
    margin-bottom: 20px;
        color: #764ba2;
    font-size: 30px;
    margin-top: 0;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Label Styling */
label {
    font-size: 18px;
    font-weight: 500;
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: #495057;
}

/* Form Group */
.form-group {
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

.form-group-new {
    margin-bottom: 15px;
    /* text-align: left; */
    width: 100%;
}

/* Input Fields */
.for-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
    background: #ffffff;
    box-sizing: border-box;
    color: #495057;
}

/* Input Focus Effect */
input:focus {
    border-color: #764ba2;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4), 
            0 2px 6px rgba(118, 75, 162, 0.3);
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4), 
            0 2px 6px rgba(118, 75, 162, 0.3);
    color: #fff;
    padding: 14px 16px;
    border: none;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button Hover Animation */
.btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.6),
              0 4px 12px rgba(118, 75, 162, 0.4);
}

/* Button Click Animation */
.btn:active {
    background: #2c5aa0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        width: 95%;
        padding: 24px;
        margin-top: 60px;
    }
    
    .tab-button {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .for-form-input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .form-container {
        width: 100%;
        padding: 20px;
        border-radius: 0;
        margin-top: 0;
        min-height: 100vh;
        box-shadow: none;
        border: none;
    }
    
    .checkbox-group {
        align-items: flex-start;
    }
    
    .checkbox-group label {
        font-size: 13px;
    }
}



.back-link {
  margin-top: 20px;
}

.back-link a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
  transform-origin: left center;
}

.back-link a span {
  margin-right: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.back-link a:hover {
  color: #007bff;
  transform: scale(1.050) translateX(-10px);
}

.back-link a:hover span {
  transform: translateX(-4px);
}


