body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
}
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.card-modern {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    width: 100%;
    max-width: 420px; /* Limits width on desktop */
}
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 16px; /* Prevents iOS zoom */
    border: 1px solid #e5e7eb;
}
.form-control:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.btn-primary {
    background-color: #4f46e5;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}
.btn-primary:hover {
    background-color: #4338ca;
}
.brand-badge {
    background-color: #e0e7ff;
    color: #4f46e5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* New Logo Styling with Black Border */
.login-logo {
    max-width: 150px;       /* Adjust based on your logo size */
    height: auto;
    display: block;
    margin: 0 auto;
    
    /* Border Styling */
    border: 2px solid black; /* Adds the black border */
    padding: 5px;            /* Optional: Adds some space between logo and border */
    border-radius: 8px;      /* Optional: Rounds the corners slightly */
}

/* Password Toggle Positioning */
.password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: #9ca3af; /* Gray color */
    padding: 5px;
}

.password-toggle:hover {
    color: #4f46e5; /* Brand color on hover */
}

/* Ensure input text doesn't overlap the eye icon */
#password {
    padding-right: 40px; 
}