/* Simplified Login Page Styles matching ui_source */

/* Remove complex styling and use simple form */
.login-form {
    background-color: rgba(2, 0, 52, 0.9) !important; /* Dark blue background matching Poseidon theme */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.login-form h2 {
    color: white !important;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Khand', sans-serif;
    text-transform: uppercase;
    font-weight: 700 !important;
}

.login-form .form-label {
    color: #ffffff !important; /* Bright white for better contrast */
    font-weight: 600 !important; /* Make slightly bolder for better visibility */
    font-family: 'Lato', sans-serif;
}

.login-form .form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    border-radius: 4px;
    font-weight: 500 !important;
}

.login-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.25rem rgba(85, 238, 0, 0.25);
    color: white;
}

.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-form .form-check-label {
    color: #ffffff !important; /* Bright white for better contrast */
    font-weight: 600 !important; /* Enhanced visibility */
    font-family: 'Lato', sans-serif;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for better readability */
}

.login-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1rem;
    background-color: #2ea900 !important; /* WCAG compliant green */
    border-color: #2ea900 !important;
    color: #000000 !important; /* Black text for maximum contrast */
    font-family: 'Khand', sans-serif;
}

.login-form .btn-primary:hover {
    background-color: #258500 !important; /* Darker WCAG compliant green */
    border-color: #258500 !important;
    color: #000000 !important;
}

/* Alert styling for simplified design */
.alert {
    border-radius: 4px;
    border: none;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(85, 238, 0, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(85, 238, 0, 0.3);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Remove all complex styling */
.login-page,
.login-card,
.feature-item,
.password-toggle {
    display: none;
}

/* Simple responsive design */
@media (max-width: 768px) {
    .login-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }
}