/**
 * OMS guest / auth pages (DESIGN.md dark-first)
 */

:root {
    --bg-primary: #0b1020;
    --accent-primary: #5b8cff;
    --text-primary: #f4f6fb;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

body.oms-guest {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.oms-guest__glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 20%, rgba(91, 140, 255, 0.15), transparent),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(124, 58, 237, 0.12), transparent);
    pointer-events: none;
}

.oms-guest__card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 2rem 2rem 1.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.oms-guest__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.oms-guest__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5b8cff, #7c3aed);
    color: #fff;
}

.oms-guest__card h1 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.oms-guest__card > p.muted {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.oms-guest__card label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.oms-guest__card input[type='email'],
.oms-guest__card input[type='password'],
.oms-guest__card input[type='text'] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
}

.oms-guest__card input:focus {
    outline: none;
    border-color: rgba(91, 140, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15);
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.oms-guest__card button[type='submit'] {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #5b8cff, #4a7ae8);
    box-shadow: 0 4px 16px rgba(91, 140, 255, 0.35);
    transition: filter 0.15s, transform 0.1s;
}

.oms-guest__card button[type='submit']:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.error {
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.hint {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}
