/* Shared styles: login form + password change form */

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    max-width: 460px;
    margin: 2rem auto;
    padding: 2rem;
}

.card h1 { font-size: 1.3rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.2rem; }

label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .35rem;
    color: #374151;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid #ccd2e3;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color .2s;
}
input:focus { outline: none; border-color: #4f6df5; }

.hint { font-size: .78rem; color: #94a3b8; margin-top: .25rem; }

button[type="submit"] {
    width: 100%;
    padding: .7rem;
    background: #4f6df5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s;
}
button[type="submit"]:hover { background: #3a56d4; }

.alert {
    border-radius: 5px;
    padding: .7rem 1rem;
    margin-bottom: 1.2rem;
    font-size: .9rem;
}
.alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }

.divider { border: none; border-top: 1px solid #f1f5f9; margin: 1.5rem 0; }

.back-link {
    display: block;
    text-align: center;
    font-size: .85rem;
    color: #64748b;
    text-decoration: none;
}
.back-link:hover { color: #1a1a2e; }
