/* Kirjautuminen / rekisteröinti / salasanan palautus / sähköpostin varmennus */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background: #f4f5f7;
    color: #222;
}

a {
    color: #000;
}


.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #ffffff;
    background-image: url('../images/todo_monkey_background.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-logo img {
    height: 48px;
    width: auto;
}

.auth-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.auth-form {
    background: #f3d580;
    padding: 32px;
    border-radius: 45px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 360px;
    border: 2px solid #ffffff;
}

.auth-form--wide {
    max-width: 560px;
    text-align: left;
}

.auth-form h1 {
    margin-top: 0;
    font-size: 22px;
}

.auth-form label {
    display: block;
    margin: 14px 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d3d9;
    border-radius: 20px;
    font-size: 14px;
}

.auth-form button {
    width: 100%;
    margin-top: 20px;
    padding: 11px;
    background: #4b4b4b;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 3px 3px 3px rgba(0, 0, 0, 0.14);
    -webkit-box-shadow: 0px 3px 3px 3px rgba(0, 0, 0, 0.14);
    transition: box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.auth-form button:hover {
    background: #000;
    box-shadow: none;
    -webkit-box-shadow: none;
    transform: translateY(3px);
}

.auth-form button:active {
    transform: translateY(3px) scale(0.98);
}

.auth-link {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.auth-privacy {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
}

.auth-privacy a {
    color: #555;
}

.error {
    background: #f6e4b0;
    color: #b91c1c;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.success {
    background: #f6e4b0;
    color: #15803d;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}
