﻿.login-form {
    max-width: 400px;
    margin: 100px auto;
    font-family: sans-serif;
    background: #f5f5f5;
    padding: 10px 30px 15px;
    border-radius: 4px;
    border-bottom: 2px solid #eee;
    border-right: 1px solid #eee;
}

.login-form-row {
    margin: 15px 0;
}

.login-form h1 {
    margin: 20px 0 20px 0;
    font-size: 24px;
}

.login-form-row label {
    margin-bottom: 8px;
    display: inline-block;
    font-size: 14px;
    color: #777;
}

.login-form-row input[type=text], .login-form-row input[type=password] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Primary Login Button - Blue with contrasting hover */
.login-form button,
.login-form-button {
    background: #0066cc;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    display: block;
    text-align: center;
    font-weight: bold;
    border: 0;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

.login-form button:hover,
.login-form-button:hover {
    background: #0052a3;
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 4px 8px rgba(0, 82, 163, 0.4);
    transform: translateY(-1px);
}

.login-form button:active,
.login-form-button:active {
    background: #003d7a;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 61, 122, 0.4);
}

.login-form button:focus-visible,
.login-form-button:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Secondary/Cancel button styles */
.login-form .btn-secondary,
.login-form button[type="button"]:not(.login-form-button) {
    background: #6c757d;
    color: white;
    transition: all 0.2s ease-in-out;
}

.login-form .btn-secondary:hover,
.login-form button[type="button"]:not(.login-form-button):hover {
    background: #545b62;
}

/* Checkbox styling */
.login-form-row .checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.login-form-row .checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #0066cc;
}
