body {
    background: url('_shared\LOGO\bg-caloocan.jpg') no-repeat center center fixed !important;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

/* Overlay for better readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(190, 200, 185, 0.2);
    z-index: -1;
}

.ew-login-box {
    width: 100%;
    max-width: 400px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #1E1F25;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.75);
}

.card.ew-login-card {
    background: rgba(255, 255, 255, 0.35) !important;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 40px;
    background: linear-gradient(90deg, #DCE4E1 0%, #D7E3B3 100%);
}

.login-box-msg {
    text-align: center;
    margin-bottom: 30px;
    color: #1E1F25;
    font-size: 18px;
    font-weight: 600;
}

.form-control, input[type="text"], input[type="password"] {
    background: #F5F8F2;
    border: 2px solid #EBEEE8;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #1E1F25;
    transition: all 0.3s ease;
    height: 48px; /* Explicit height */
    box-sizing: border-box; /* Include padding and border in height calculation */
}

.form-control:focus, input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #3E8EB9;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(62, 142, 185, 0.1);
}

.input-group {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: stretch; /* This ensures both elements have the same height */
}
.input-group input[type="password"] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

.btn.ew-toggle-password {
    background: #EBEEE8;
    border: 2px solid #EBEEE8;
    border-left: none;
    color: #363340;
    transition: all 0.3s ease;
    height: 48px; /* Match the input field height */
    padding: 12px 15px; /* Match the input padding */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.ew-toggle-password:hover {
    background: #3E8EB9;
    border-color: #3E8EB9;
    color: #FFFFFF;
}

.btn-primary.ew-btn {
    background: linear-gradient(135deg, #3E8EB9 0%, #7BB93E 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary.ew-btn:hover {
    background: linear-gradient(135deg, #7BB93E 0%, #3E8EB9 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 142, 185, 0.3);
}

.btn-primary.ew-btn:disabled {
    background: #363340;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.social-auth-links .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-page-links a {
    color: #3E8EB9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-page-links a:hover {
    color: #7BB93E;
    text-decoration: underline;
}

.invalid-feedback {
    color: #96260f;
    font-weight: 600;
    font-size: 14px;
    margin-top: 5px;
}

.valid-feedback {
    color: #7BB93E;
    font-size: 14px;
    margin-top: 5px;
}
