/* public/css/auth.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #f2f4f8;
    color: #333;
}

.auth-container {
    max-width: 420px;
    margin: 4rem auto;
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

h2 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    color: #111;
}

form {
    display: flex;
    flex-direction: column;
}

form > div {
    margin-bottom: 1rem;
}

label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

input.error {
    border-color: #cc0000;
}

button {
    background-color: #3366ff;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

button:hover {
    background-color: #254eda;
}

.alert {
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-danger {
    background-color: #ffe6e6;
    color: #cc0000;
}

.alert-success {
    background-color: #e6ffea;
    color: #009933;
}

p {
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

a {
    color: #3366ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
