/* ─────────  LOGIN PAGE  ───────── */

/* full-height flex wrapper to center the card */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;            /* fill viewport */
    padding: 2rem;
}

/* login “card” matches tool-card styling */
.login-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

/* headline */
.login-card h2 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

/* email input */
.login-card input[type="email"] {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--grey-400);
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.15s ease;
}

.login-card input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

/* submit button styled like tool-card hover color */
.login-card button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.login-card button:hover,
.login-card button:focus-visible {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* smaller screens */
@media (max-width: 600px) {
    .login-card {
        padding: 1.5rem 1.75rem;
    }
}
