/* Login Page Simple Styles */

body {
    /*background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);*/
    background-image: linear-gradient(60deg, #013d81 0%, #002c5c 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.login-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    height: 50px;
    margin-bottom: 10px;
}

.login-header h2 {
    color: #333;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 5px;
}

.login-header p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Form styles */
.form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-control {
    border-radius: 30px;
    padding: 12px 20px;
    border: 1px solid #e1e1e1;
    font-size: 14px;
    height: auto;
}



.form-control:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
}

/* Input group for password field */
.input-group {
    border-radius: 30px;
    overflow: hidden;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid #e1e1e1;
    background: white;
    color: #6c757d;
    padding: 0 15px;
    border-radius:50%;
}

.input-group .btn:hover {
    background: #f8f9fa;
    color: #2a5298;
}

/* Password field container */
.password-field {
    position: relative;
}

/* Login button */
.btn-login {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    font-size: 16px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.btn-login:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.5);
}

/* Remember me and Forgot password row */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 0;
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    cursor: pointer;
    border: 1px solid #e1e1e1;
}

.form-check-input:checked {
    background-color: #2a5298;
    border-color: #2a5298;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
    border-color: #2a5298;
}

.form-check-label {
    color: #6c757d;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: #2a5298;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #1e3c72;
}

/* Alert messages */
.alert {
    border-radius: 30px;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: none;
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

/* Register link */
.text-center {
    text-align: center;
}

.text-center a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.text-center a:hover {
    text-decoration: underline;
    color: #1e3c72;
}

.text-muted {
    color: #6c757d;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .login-header h2 {
        font-size: 22px;
    }
    
    .login-header img {
        height: 40px;
    }
}