/* static/css/login.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
    background-color: #f9fafb;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}
.login-container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.header {
    text-align: center;
    margin-bottom: 30px;
}
.logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}
h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}
.subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}
.flash-message {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.input-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    display: flex;
    align-items: center;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}
input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
button {
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    margin-top: 8px;
}
button:hover {
    background-color: #1d4ed8;
}
button:active {
    background-color: #1e40af;
}
