/* Standalone pages outside the app layout: login, forgot/reset password. */

:root { color-scheme: light; }

* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #f4f4f4;
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    color: #222;
    line-height: 1.5;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    width: 24rem;
    max-width: 90vw;
}

h1 { margin: 0 0 1.25rem; font-size: 1.2rem; }

.lead { margin: 0 0 1.25rem; font-size: 0.9rem; color: #555; }

label { display: block; margin: 0.75rem 0 0.25rem; font-size: 0.9rem; }

input[type=email],
input[type=password] {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    font-size: 1rem;
}

input[type=email]:focus,
input[type=password]:focus {
    outline: 2px solid #2b6cb0;
    outline-offset: -1px;
    border-color: #2b6cb0;
}

.row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.85rem 0 1.25rem;
    font-size: 0.9rem;
}
.row label { margin: 0; }
.row input[type=checkbox] { width: auto; }

button {
    background: #2b6cb0;
    color: #fff;
    border: 0;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    margin-top: 1.25rem;
}
button:hover { background: #235591; }

.alert {
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border: 1px solid;
}
.alert-error   { background: #fde2e2; color: #8a1f1f; border-color: #f5c2c2; }
.alert-success { background: #e2f4e2; color: #1a6f1a; border-color: #b8e0b8; }

.links {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    text-align: center;
}
.links a { color: #2b6cb0; text-decoration: none; }
.links a:hover { text-decoration: underline; }

.hint { color: #777; font-size: 0.8rem; margin: 0.25rem 0 0; }

/* --- Preview page (login-free video preview from notification mails) ------ */

.card-wide { width: 56rem; max-width: 92vw; }

.player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.player-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    color: #555;
    font-size: 0.9rem;
}

.player-state strong { color: #222; font-size: 1rem; }
.player-state .links { margin-top: 0.25rem; }
