/*
 * Styles for the tenant-neutral workspace-picker login landing page
 * (resources/views/workspace-picker.blade.php). Kept as a self-hosted asset so
 * it loads under the deployed `style-src 'self'` CSP (no inline styles).
 */
:root {
    --bg: #f1f5f9;
    --card: #ffffff;
    --border: #e2e8f0;
    --text: #0a2e50;
    --muted: #64748b;
    --primary: #0a6fe6;
    --primary-hover: #0857b8;
    --input-bg: #ffffff;
    --ring: rgba(10, 111, 230, 0.35);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a1626;
        --card: #101f33;
        --border: #1e3350;
        --text: #e6eef7;
        --muted: #94a3b8;
        --primary: #2f95ff;
        --primary-hover: #52a8ff;
        --input-bg: #0c1b2e;
        --ring: rgba(47, 149, 255, 0.4);
    }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    -webkit-font-smoothing: antialiased;
}
.card {
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px 32px;
    box-shadow: 0 10px 30px rgba(10, 46, 80, 0.08);
}
.wordmark { display: block; text-align: center; margin: 0 auto 26px; }
.wordmark svg { display: block; height: 38px; width: auto; margin: 0 auto; }
.wordmark .dark-only { display: none; }
@media (prefers-color-scheme: dark) {
    .wordmark .light-only { display: none; }
    .wordmark .dark-only { display: block; }
}
h1 { font-size: 22px; line-height: 1.3; margin: 0 0 8px; text-align: center; font-weight: 650; }
.subtitle { font-size: 14px; color: var(--muted); text-align: center; margin: 0 0 28px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--input-bg);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    padding: 12px 4px 12px 14px;
}
.field .suffix {
    display: flex;
    align-items: center;
    padding: 0 14px 0 4px;
    color: var(--muted);
    font-size: 15px;
    white-space: nowrap;
}
button {
    width: 100%;
    margin-top: 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
}
button:hover { background: var(--primary-hover); }
button:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.helper { font-size: 12.5px; color: var(--muted); margin: 14px 2px 0; line-height: 1.5; }
.error { font-size: 13px; color: #dc2626; margin: 10px 2px 0; min-height: 18px; }
@media (prefers-color-scheme: dark) { .error { color: #f87171; } }
.footer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 28px; }
