
.login-wrapper {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 1rem;
    background-image: linear-gradient(to right, #6F46E0, #3066DB);
}

.login-card {
    background-color: white;
    width: 100%;
    max-width: 380px;
    padding: 1.5rem 1.75rem;
    margin: auto;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.login-title {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    margin-top: 0.5rem;
}

.login-subtitle {
    font-weight: bold;
    font-size: 17px;
    color: #9ba39b;
    text-align: center;
}

/* Only affects the inputs and button inside the card */
.login-card .form-control {
    border: 1px solid #005D8E;
    border-radius: 5px;
}

.login-card .btn-primary {
    background-image: linear-gradient(to right, #6F46E0, #3066DB);
    color: white;
    border: none;
    border-radius: 5px;
}

.login-links {
    margin-top: 1rem;
    text-align: center;
}

.login-links a {
    color: #1509b5;
    font-size: 15px;
}

 .home-btn {
     position: fixed;
     top: 16px;
     left: 16px;
     z-index: 1000;
     display: flex;
     align-items: center;
     justify-content: center;
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: #fff;
     color: #1b3a6b;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
     text-decoration: none;
     transition: transform 0.15s ease, box-shadow 0.15s ease;
 }
.home-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #1b3a6b;
}
.dark-theme .home-btn {
    background: #2b2b2b;
    color: #fff;
}

.dark-theme .logout-btn {
    background: transparent;
    color: #9cc4ff;
    border-color: #3a4a66;
}
.dark-theme .logout-btn:hover {
    background: #1e7bff;
    color: #fff;
}
