/* Gestbal Core: central login pages. Colors from the Gestbal logo, dark theme. */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: #0A121C;
    color: #E6EEF6;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

a { color: #5CC3EC; text-decoration: none; }
a:hover { color: #8FD9F5; text-decoration: underline; }

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 48px 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-name {
    font-family: "Exo 2", Inter, sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 3px;
    color: #8FD9F5;
}

.card {
    width: 100%;
    max-width: 420px;
    background: #111C2A;
    border: 1px solid #1F2E42;
    border-radius: 14px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card.wide { max-width: 560px; }

.heading { display: flex; flex-direction: column; gap: 6px; }
h1 { margin: 0; font-size: 24px; font-weight: 600; color: #F2F6FA; }
h2 { margin: 0; font-size: 16px; font-weight: 600; color: #F2F6FA; }
.muted { margin: 0; font-size: 14px; color: #9AABC0; }
.small { margin: 0; font-size: 12px; color: #8A9BB0; }
.center { text-align: center; }
strong { color: #E6EEF6; font-weight: 600; }

form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-header { display: flex; justify-content: space-between; align-items: baseline; }
.field-header a { font-size: 13px; }
label { font-size: 14px; font-weight: 500; color: #C9D6E5; }

input[type="email"], input[type="password"], input[type="text"] {
    height: 46px;
    padding: 0 14px;
    font: inherit;
    color: #E6EEF6;
    background: #0A121C;
    border: 1px solid #2A3B52;
    border-radius: 9px;
}
input:focus { outline: 2px solid #3FA9D9; outline-offset: 1px; border-color: #3FA9D9; }
input.code {
    height: 56px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 12px;
    text-align: center;
}

.checkbox { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 400; color: #C9D6E5; }
.checkbox input { width: 18px; height: 18px; margin: 0; accent-color: #1E78C8; }

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #1E78C8;
    color: #FFFFFF;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.button:hover { background: #2788DB; color: #FFFFFF; text-decoration: none; }
.button.secondary { background: transparent; border: 1px solid #2A3B52; color: #C9D6E5; height: 40px; width: auto; padding: 0 16px; }
.button.secondary:hover { background: #17263A; }

.link-button {
    background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #5CC3EC; cursor: pointer;
}
.link-button:hover { color: #8FD9F5; text-decoration: underline; }

.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }

.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.45; }
.alert p { margin: 0; }
.alert.error { background: #2A1618; border: 1px solid #5C2A2E; color: #F5C6C9; }
.alert.info { background: #0F2433; border: 1px solid #1F4A66; color: #C9E6F5; }
.alert svg { flex-shrink: 0; margin-top: 1px; }

.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-height: 64px; padding: 12px 16px;
    background: #0A121C; border: 1px solid #2A3B52; border-radius: 10px;
    color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.choice:hover { border-color: #3FA9D9; }
.choice-text { display: flex; flex-direction: column; gap: 3px; }
.choice-name { font-size: 15px; font-weight: 600; color: #E6EEF6; }
.choice-detail { font-size: 12px; color: #8A9BB0; }

.section { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid #1F2E42; }
.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.list .detail { color: #8A9BB0; font-size: 13px; }

.footer { margin: 0; font-size: 13px; color: #8A9BB0; }

@media (max-width: 480px) {
    .card { padding: 28px 20px; }
}
