/* /Layout/KioskLayout.razor.rz.scp.css */
/* ====================================================
   KioskLayout — HashiCorp-inspired dark kiosk shell
   ==================================================== */

.kiosk-shell[b-y1bnh8hnws] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--hgo-bg-dark);
}

/* ── Status Bar ─────────────────────────────────── */
.kiosk-statusbar[b-y1bnh8hnws] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--hgo-space-5);
    height: 48px;
    background: var(--hgo-bg-deepest);
    border-bottom: 1px solid var(--hgo-border-subtle);
    flex-shrink: 0;
    z-index: 10;
    user-select: none;
}

.statusbar-section[b-y1bnh8hnws] {
    display: flex;
    align-items: center;
    gap: var(--hgo-space-3);
}

.statusbar-left[b-y1bnh8hnws]  { flex: 1; }
.statusbar-center[b-y1bnh8hnws] {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    gap: var(--hgo-space-3);
    align-items: baseline;
}
.statusbar-right[b-y1bnh8hnws] { flex: 1; justify-content: flex-end; }

/* Clock */
.statusbar-time[b-y1bnh8hnws] {
    font-family: var(--hgo-font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--hgo-text-primary);
    font-variant-numeric: tabular-nums;
}

.statusbar-date[b-y1bnh8hnws] {
    font-family: var(--hgo-font-body);
    font-size: 13px;
    color: var(--hgo-text-muted);
}

/* Connection badge */
.connection-badge[b-y1bnh8hnws] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hgo-font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--hgo-text-muted);
}

.connection-dot[b-y1bnh8hnws] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hgo-text-muted);
    flex-shrink: 0;
}

.connection-badge.is-online .connection-dot[b-y1bnh8hnws]  { background: var(--hgo-success); }
.connection-badge.is-online .connection-label[b-y1bnh8hnws] { color: var(--hgo-success); }
.connection-badge.is-offline .connection-dot[b-y1bnh8hnws]  { background: var(--hgo-danger-accent); }
.connection-badge.is-offline .connection-label[b-y1bnh8hnws] { color: var(--hgo-danger-accent); }

/* Device label */
.device-label[b-y1bnh8hnws] {
    font-family: var(--hgo-font-body);
    font-size: 13px;
    color: var(--hgo-text-muted);
    padding-left: var(--hgo-space-3);
    border-left: 1px solid var(--hgo-border-subtle);
}

/* Sync badge */
.sync-badge[b-y1bnh8hnws] {
    font-family: var(--hgo-font-brand);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--hgo-text-muted);
    padding: 4px 12px;
    border-radius: var(--hgo-radius-md);
    border: 1px solid var(--hgo-border-subtle);
}

.sync-badge.sync-syncing[b-y1bnh8hnws] {
    color: var(--hgo-action);
    border-color: rgba(16, 96, 255, 0.3);
    animation: hgo-pulse-b-y1bnh8hnws 1.5s ease-in-out infinite;
}

.sync-badge.sync-error[b-y1bnh8hnws] {
    color: var(--hgo-danger-accent);
    border-color: rgba(233, 69, 96, 0.3);
}

.sync-badge.sync-pending[b-y1bnh8hnws] {
    color: var(--hgo-warning);
    border-color: rgba(187, 90, 0, 0.3);
}

.sync-badge.sync-idle[b-y1bnh8hnws] {
    color: var(--hgo-success);
    border-color: rgba(0, 200, 83, 0.2);
}

/* ── Theme Toggle ──────────────────────────────── */
.theme-toggle[b-y1bnh8hnws] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--hgo-border-subtle);
    border-radius: var(--hgo-radius-md);
    color: var(--hgo-text-muted);
    font-family: var(--hgo-font-brand);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover[b-y1bnh8hnws] {
    color: var(--hgo-text-primary);
    border-color: var(--hgo-border);
    background: var(--hgo-bg-surface);
}

.theme-toggle:focus-visible[b-y1bnh8hnws] {
    outline: var(--hgo-focus);
    outline-offset: 2px;
}

.theme-toggle:active[b-y1bnh8hnws] {
    transform: scale(0.95);
}

.theme-toggle-label[b-y1bnh8hnws] {
    line-height: 1;
}

/* ── Main Content ───────────────────────────────── */
.kiosk-main[b-y1bnh8hnws] {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes hgo-pulse-b-y1bnh8hnws {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
