/* * Login Styles
 * Based on your 'yard/CSS/login.css'
 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f3f4f6; /* gray-100 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 1rem;
}

.login-container {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 380px;
    text-align: center;
}

h2 {
    margin-bottom: 1.5rem;
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    color: #111827; /* gray-900 */
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    margin: 0.6rem 0;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6; /* blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

button {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    background: #3b82f6; /* blue-600 */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

button:hover {
    background: #2563eb; /* blue-700 */
}

button:active {
    transform: scale(0.98);
}

/* Error/Success Messages */
.message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}
.error {
    background-color: #fee2e2; /* red-100 */
    color: #b91c1c; /* red-700 */
    border: 1px solid #fca5a5; /* red-300 */
}
.info {
    background-color: #dbeafe; /* blue-100 */
    color: #1d4ed8; /* blue-700 */
    border: 1px solid #93c5fd; /* blue-300 */
}