/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
 background: linear-gradient(135deg, #0f3d2e 0%, #1e7f5c 100%);
     min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite linear;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 15s;
}

.circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: -10s;
    animation-duration: 12s;
}

.circle:nth-child(4) {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -100px;
    animation-delay: -7s;
    animation-duration: 18s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

/* Login Container */
.login-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    min-height: 700px;
    backdrop-filter: blur(10px);
}

/* Left Panel */
.login-left {
    flex: 1;

 background: linear-gradient(135deg, #145a32 0%, #2ecc71 100%);
     padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
}

.brand-header {
    z-index: 1;
    position: relative;
}



.logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
     color: #fbfdfc;
}

.brand-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
     color: #fbfdfc;
}

.tagline {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

.features {
    margin: 40px 0;
    z-index: 1;
    position: relative;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
}

.feature:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 24px;
    color: #2f6934;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
     color: #fbfdfc;
}

.feature p {
    font-size: 14px;
    opacity: 0.8;
}

.stats {
    display: flex;
    justify-content: space-between;
    z-index: 1;
    position: relative;
}

.stat {
    text-align: center;
    padding: 15px;
}

.stat h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fbfdfc;
}

.stat p {
    font-size: 14px;
    opacity: 0.9;
}

/* Right Panel */
.login-right {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #7f8c8d;
    font-size: 16px;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

.alert.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert i {
    font-size: 18px;
}

/* Input Groups */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #32554a;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
}

.input-group label i {
    color: #3b804c;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    background: white;
    color: #254437;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #5dbd72;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8d7f;
    pointer-events: none;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 15px 45px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    background: white;
    color: #3a6853;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #43af73;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.input-with-icon input::placeholder {
    color: #95a5a6;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #567760;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8d85;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #3ca574;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
}

.checkbox input:checked + .checkmark {
    background: #1d8a60;
    border-color: #469b60;
}

.checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox span {
    color: #5d6d7e;
    font-size: 14px;
}

.forgot-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #2e7945;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #22684d,  #22684d);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(63, 180, 69, 0.178);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #bdc3c7;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 15px;
    font-size: 14px;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-bottom: 30px;
}

.register-link p {
    color: #5d6d7e;
    font-size: 15px;
}

.register-link a {
    color: #39ac69;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #97e7c9;
    text-decoration: underline;
}

/* Test Accounts */
.test-accounts {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #34db8d;
}

.test-accounts h4 {
    color: #2c503c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.test-account {
    background: rgb(56, 55, 55);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #5d6d7e;
    border: 1px solid #e9ecef;
}

.test-account strong {
    color: #2c3e50;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.footer p {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 5px;
}

.contact {
    font-size: 12px !important;
}

.contact i {
    margin: 0 5px;
    color: #34db4a;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .login-left {
        padding: 30px;
    }
    
    .login-right {
        padding: 30px;
    }
    
    .features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .feature {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }
    
    .login-container {
        border-radius: 15px;
    }
    
    .login-left,
    .login-right {
        padding: 25px;
    }
    
    .brand-header h1 {
        font-size: 24px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
/* Help Section */
.help-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    border-left: 4px solid #34db5e;
}

.help-section h4 {
    color: #2c503e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.help-section p {
    color: #5d7e64;
    font-size: 14px;
    margin: 0;
}

.dropdown-icon {
    position: absolute;
    right: 15px; /* Match input icon positioning */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #7f8d87; /* Match input icon color */
    font-size: 16px; /* Slightly larger to match design */
}