.bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/login_background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* Low opacity for background image */
    z-index: 0;
}

@media (max-width: 768px) {
    .bg-image {
        width: 100%;
        opacity: 0.05;
        /* Even lower opacity on mobile */
    }
}

/* Add a text shadow to improve readability of white text on blue background */
.text-shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Style for password field to accommodate password managers */
.password-field {
    padding-right: 4rem !important;
    /* Extra space for both password manager icon and toggle */
}

/* Subtle loading animation styles */
.button-loader {
    display: none;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-status {
    height: 3px;
    width: 100%;
    background-color: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
}

.login-status-bar {
    height: 100%;
    width: 0;
    background-color: #3b82f6;
    transition: width 0.2s ease;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
} 