 /* Import Google Fonts */
 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
 /* Reset and Base Styles */
 *, *::before, *::after {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 
 :root {
     --primary: rgb(26, 32, 53);
     --primary-dark: #3a56d4;
     --secondary: #7209b7;
     --accent: #f72585;
     --light: #f8f9fa;
     --dark: #212529;
     --gray: #6c757d;
     --light-gray: #e9ecef;
     --success: #38b000;
     --error: #d00000;
     --border-radius: 12px;
     --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     --transition: all 0.3s ease;
 }
 
 body {
     font-family: 'Poppins', sans-serif;
     background: linear-gradient(135deg, rgb(33, 37, 53), #3a0ca3);
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
     color: var(--dark);
     line-height: 1.6;
 }
 
 /* Container Styles */
 .container {
     background: white;
     border-radius: var(--border-radius);
     box-shadow: var(--shadow);
     width: 100%;
     max-width: 1000px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
 }
 
 /* Header Styles */
 .header {
     background: var(--primary);
     color: white;
     padding: 30px 40px;
     position: relative;
 }
 
 .header h1 {
     font-size: 28px;
     font-weight: 600;
     margin-bottom: 10px;
 }
 
 .header p {
     font-size: 16px;
     opacity: 0.9;
 }
 
 /* Form Styles */
 .form-container {
     padding: 40px;
 }
 
 .form-section {
     margin-bottom: 30px;
 }
 
 .section-title {
     font-size: 18px;
     font-weight: 600;
     margin-bottom: 20px;
     color: var(--primary);
     display: flex;
     align-items: center;
     gap: 10px;
 }
 
 .section-title i {
     font-size: 22px;
 }
 
 .form-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
 }
 
 .input-group {
     margin-bottom: 15px;
 }
 
 .input-group label {
     display: block;
     font-size: 14px;
     font-weight: 500;
     margin-bottom: 8px;
     color: var(--dark);
 }
 
 .input-group input,
 .input-group select {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid var(--light-gray);
     border-radius: 8px;
     font-size: 15px;
     transition: var(--transition);
     outline: none;
     color: var(--dark);
 }
 
 .input-group input:focus,
 .input-group select:focus {
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
 }
 
 .input-group input::placeholder {
     color: #adb5bd;
 }
 
 .input-group.full-width {
     grid-column: span 3;
 }
 
 .input-group.half-width {
     grid-column: span 2;
 }

.input-group.custom-width {
    width: 50%;
}

 
 /* File Upload Styling - Improved */
 .file-upload-container {
     position: relative;
     width: 100%;
 }
 
 .file-upload {
     position: relative;
     display: flex;
     flex-direction: column;
     align-items: center;
     padding: 30px 20px;
     border: 2px dashed var(--light-gray);
     border-radius: 8px;
     cursor: pointer;
     transition: var(--transition);
     margin-bottom: 15px;
 }
 
 .file-upload:hover {
     border-color: var(--primary);
     background-color: rgba(67, 97, 238, 0.05);
 }
 
 .file-upload i {
     font-size: 40px;
     color: var(--primary);
     margin-bottom: 15px;
 }
 
 .file-upload p {
     font-size: 14px;
     color: var(--gray);
     text-align: center;
     margin-bottom: 5px;
 }
 
 .file-upload .file-types {
     font-size: 12px;
     color: var(--gray);
     opacity: 0.7;
 }
 
 .file-upload input {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     cursor: pointer;
 }
 
 /* File name display */
 .file-name-display {
     display: none;
     background-color: var(--light);
     border: 1px solid var(--light-gray);
     border-radius: 8px;
     padding: 12px 15px;
     margin-top: 10px;
     font-size: 14px;
     color: var(--dark);
     position: relative;
 }
 
 .file-name-display.active {
     display: flex;
     align-items: center;
     justify-content: space-between;
 }
 
 .file-name-display i {
     color: var(--success);
     font-size: 18px;
     margin-right: 10px;
 }
 
 .file-name-display .file-name {
     flex-grow: 1;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }
 
 .file-name-display .remove-file {
     color: var(--gray);
     cursor: pointer;
     transition: var(--transition);
 }
 
 .file-name-display .remove-file:hover {
     color: var(--error);
 }
 
 /* Custom file input styling */
 .custom-file-input::-webkit-file-upload-button {
     visibility: hidden;
     width: 0;
 }
 
 .custom-file-input::before {
     content: 'Select File';
     display: inline-block;
     background: var(--primary);
     color: white;
     border-radius: 6px;
     padding: 8px 20px;
     outline: none;
     white-space: nowrap;
     cursor: pointer;
     font-weight: 500;
     font-size: 14px;
     margin-top: 15px;
     transition: var(--transition);
 }
 
 .custom-file-input:hover::before {
     background: var(--primary-dark);
 }
 
 .custom-file-input:active::before {
     background: var(--primary-dark);
 }
 
 /* File upload with preview */
 .file-preview-area {
     width: 100%;
     max-width: 200px;
     height: 200px;
     margin: 0 auto 20px;
     border-radius: 8px;
     overflow: hidden;
     position: relative;
     background-color: var(--light);
     display: flex;
     align-items: center;
     justify-content: center;
     border: 2px dashed var(--light-gray);
 }
 
 .file-preview-area img {
     max-width: 100%;
     max-height: 100%;
     object-fit: cover;
     display: none;
 }
 
 .file-preview-area .preview-placeholder {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     color: var(--gray);
     text-align: center;
     padding: 20px;
 }
 
 .file-preview-area .preview-placeholder i {
     font-size: 40px;
     margin-bottom: 10px;
     color: var(--primary);
 }
 
 .file-preview-area .preview-placeholder p {
     font-size: 14px;
 }
 
 /* Show image preview when file is selected */
 input[type="file"]:valid + .file-preview-area .preview-placeholder {
     display: none;
 }
 
 input[type="file"]:valid + .file-preview-area {
     border-style: solid;
     border-color: var(--primary);
     background-color: white;
 }
 
 /* Button Styles */
 .btn-container {
     display: flex;
     justify-content: flex-end;
     margin-top: 20px;
 }
 
 .btn {
     padding: 12px 30px;
     border: none;
     border-radius: 8px;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     gap: 8px;
 }
 
 .btn-primary {
     background: var(--primary);
     color: white;
 }
 
 .btn-primary:hover {
     background: var(--primary-dark);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
 }
 
 .btn-outline {
     background: transparent;
     color: var(--primary);
     border: 1px solid var(--primary);
 }
 
 .btn-outline:hover {
     background: rgba(67, 97, 238, 0.1);
 }
 
 /* Footer Styles */
 .footer {
     padding: 20px 40px;
     background: var(--light);
     border-top: 1px solid var(--light-gray);
     text-align: center;
     font-size: 14px;
     color: var(--gray);
 }
 
 /* Responsive Styles */
 @media (max-width: 992px) {
     .form-grid {
         grid-template-columns: repeat(2, 1fr);
     }
     
     .input-group.full-width {
         grid-column: span 2;
     }
 }
 
 @media (max-width: 768px) {
     .container {
         margin: 20px;
     }
     
     .header, .form-container, .footer {
         padding: 20px;
     }
     
     .header h1 {
         font-size: 24px;
     }
 }
 
 @media (max-width: 576px) {
     .form-grid {
         grid-template-columns: 1fr;
     }
     
     .input-group, .input-group.full-width, .input-group.half-width {
         grid-column: span 1;
     }
     
     .btn {
         width: 100%;
         justify-content: center;
     }
     
     .btn-container {
         flex-direction: column;
         gap: 10px;
     }
 }
 
 /* Animation */
 @keyframes fadeIn {
     from { opacity: 0; transform: translateY(20px); }
     to { opacity: 1; transform: translateY(0); }
 }
 
 .container {
     animation: fadeIn 0.5s ease-out;
 }
 
 /* File selected state - CSS-only solution */
 .file-input-wrapper {
     position: relative;
     width: 100%;
 }
 
 .file-input-wrapper input[type="file"] {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     cursor: pointer;
     z-index: 2;
 }
 
 .file-input-wrapper input[type="file"]:valid ~ .file-upload {
     border-color: var(--success);
     background-color: rgba(56, 176, 0, 0.05);
 }
 
 .file-input-wrapper input[type="file"]:valid ~ .file-upload i {
     color: var(--success);
 }
 
 .file-input-wrapper input[type="file"]:valid ~ .file-upload .upload-text {
     display: none;
 }
 
 .file-input-wrapper input[type="file"]:valid ~ .file-upload .file-selected-text {
     display: block;
     color: var(--success);
     font-weight: 500;
 }
 
 .file-upload .file-selected-text {
     display: none;
 }


 /* Overlay styling */
 .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    z-index: 1;
}

/* Auth Card Styling */
.auth-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.5s ease-out;
}

.auth-card h2 {
    background: var(--primary);
    color: white;
    padding: 30px 40px;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.auth-card p {
    padding: 40px;
    font-size: 16px;
    color: var(--dark);
    line-height: 1.8;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-card h2 {
        padding: 20px;
        font-size: 24px;
    }
    
    .auth-card p {
        padding: 20px;
        font-size: 15px;
    }
}

/* Additional elements that could be added */
.auth-card .icon {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: -20px;
}

.auth-card .icon i {
    font-size: 60px;
    color: var(--primary);
}

.auth-card .footer {
    padding: 20px 40px;
    background: var(--light);
    border-top: 1px solid var(--light-gray);
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin-top: 20px;
}

.auth-card button {
    display: block;
    margin: 0 auto;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    background: var(--primary);
    color: white;
    margin-bottom: 20px;
}

.auth-card button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(67, 97, 238, 0.2);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Hover State */
button:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Active/Pressed State */
button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(67, 97, 238, 0.2);
}

/* Focus State for Accessibility */
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
} 

/* Login Container */
.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease-out;
}

/* Header */
.login-header {
    background: var(--primary);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* Login Form */
.login-form {
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #212529;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    color: #212529;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Remember Me & Forgot Password */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #3a56d4;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.login-btn i {
    font-size: 18px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    padding: 0 15px;
    color: #6c757d;
    font-size: 14px;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.social-btn.google i {
    color: #DB4437;
}

.social-btn.facebook i {
    color: #4267B2;
}

.social-btn.twitter i {
    color: #1DA1F2;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
}

.register-link a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: #3a56d4;
    text-decoration: underline;
}

/* Footer */
.login-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 576px) {
    .login-header, .login-form {
        padding: 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

#login-btn {
    width: 50%;
    margin: 0 auto;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

