/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Login Main Section */
.login-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-main:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Header Styles */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.login-logo-image:hover {
    transform: scale(1.05);
}

.login-logo {
    color: #004aad;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #666;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Form Styles */
.login-form {
    width: 100%;
}

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

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

.form-group input, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e1e1e1;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #004aad;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

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

.remember-me input {
    margin-right: 8px;
    transform: scale(1.1);
}

.forgot-password {
    color: #004aad;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #003a87;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-btn:hover {
    background-color: #003a87;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

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

/* Register Link */
.register-link {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
}

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

.register-link a:hover {
    color: #003a87;
    text-decoration: underline;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 576px) {
    .login-container {
        padding: 10px;
    }
    
    .login-main {
        padding: 30px 25px;
    }
    
    .login-logo-image {
        max-width: 160px;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .forgot-password {
        align-self: flex-end;
    }
}

@media (max-width: 400px) {
    .login-main {
        padding: 25px 20px;
    }
    
    .login-logo-image {
        max-width: 140px;
    }
    
    .login-title {
        font-size: 1.4rem;
    }
    
    .form-group input {
        padding: 12px 14px;
    }
}