/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0078D4 0%, #005a9e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.login-box h1 {
    color: #0078D4;
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.login-box h2 {
    color: #333;
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #0078D4;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0078D4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: #0078D4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.form-footer a:hover {
    color: #005a9e;
    text-decoration: underline;
}

/* Error Message */
.error-message {
    background-color: #fee;
    border-left: 4px solid #f44;
    color: #c33;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

/* Success Message */
.success-message {
    background-color: #efe;
    border-left: 4px solid #4f4;
    color: #3c3;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-box h1 {
        font-size: 28px;
    }
    
    .login-box h2 {
        font-size: 20px;
    }
}
