/* ═══════════════════════════════════════════════════════════════
   BELL OIL — DESIGN SYSTEM CSS
   Dark liquid-glass aesthetic · Bell Red #ed1b24
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    width: 100%; height: 100%;
    background: #080707;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #f5f4f4;
    overflow-x: hidden;
}

/* Hide all scrollbars */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; }

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
    --red:         #ed1b24;
    --red600:      #d4151d;
    --red900:      #3d0608;
    --bg:          #080707;
    --bg1:         #111010;
    --bg2:         #1a1919;
    --bg3:         #252323;
    --text:        #f5f4f4;
    --text-sec:    rgba(245,244,244,0.6);
    --text-ter:    rgba(245,244,244,0.35);
    --border:      rgba(255,255,255,0.1);
    --border-soft: rgba(255,255,255,0.07);

    /* shift colors */
    --morning-color:  #f7a94a;
    --morning-bg:     rgba(247,169,74,0.12);
    --morning-border: rgba(247,169,74,0.28);
    --day-color:      #ed1b24;
    --day-bg:         rgba(237,27,36,0.10);
    --day-border:     rgba(237,27,36,0.22);
    --night-color:    #94a3ff;
    --night-bg:       rgba(148,163,255,0.10);
    --night-border:   rgba(148,163,255,0.25);
}

/* ── Animations ────────────────────────────────────────────────── */
@keyframes pulse-ring {
    0%   { transform: scale(0.85); opacity: 0.7; }
    60%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}
@keyframes pulse-ring2 {
    0%   { transform: scale(0.85); opacity: 0.45; }
    60%  { transform: scale(2.1); opacity: 0; }
    100% { transform: scale(2.1); opacity: 0; }
}
@keyframes logo-breathe {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 32px 8px rgba(237,27,36,0.25); }
    50%       { box-shadow: 0 0 56px 18px rgba(237,27,36,0.45); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progress-fill { from { width: 0%; } to { width: 72%; } }
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

/* ── Utility classes ───────────────────────────────────────────── */
.fade-in     { animation: fade-in 0.6s ease both; }
.fade-in-up  { animation: fade-in-up 0.6s ease both; }
.float-up    { animation: float-up 0.5s ease 0.1s both; }
.card-in     { animation: card-in 0.5s ease both; }

.text-sec  { color: var(--text-sec); }
.text-ter  { color: var(--text-ter); }
.text-main { color: var(--text); }

.label-micro {
    font-size: 11px; font-weight: 600;
    color: var(--text-ter); letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.label-tiny {
    font-size: 10px; color: var(--text-ter);
    letter-spacing: 0.4px; margin-bottom: 4px;
}

.section-title {
    font-size: 15px; font-weight: 600; color: var(--text);
}

/* ── Glass helper ──────────────────────────────────────────────── */
.glass {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.4);
    border-radius: 20px;
}

/* ── Screen base ───────────────────────────────────────────────── */
.screen {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen--home {
    background: radial-gradient(ellipse 120% 50% at 60% 0%, rgba(237,27,36,0.13) 0%, var(--bg) 55%);
}
.screen--shifts,
.screen--tasks,
.screen--checkout,
.screen--log {
    background: radial-gradient(ellipse 100% 40% at 50% 0%, rgba(237,27,36,0.09) 0%, var(--bg) 55%);
}

.screen-header {
    padding: 52px 20px 0;
    flex-shrink: 0;
}
.screen-title {
    font-size: 22px; font-weight: 700;
    color: var(--text); letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.screen-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px 110px;
}
.screen-scroll--shifts  { padding: 8px 20px 110px; }
.screen-scroll--tasks   { padding: 0 20px 110px; }
.screen-scroll--checkout { padding: 0 20px 8px; flex: 1; overflow-y: auto; }

/* ── Ambient orbs ─────────────────────────────────────────────── */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,27,36,0.12) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.ambient-orb--2 {
    background: radial-gradient(circle, rgba(237,80,40,0.08) 0%, transparent 70%);
    filter: blur(50px);
}

/* ── Loading screen ────────────────────────────────────────────── */
.loading-screen {
    width: 100%; height: 100vh;
    background: radial-gradient(ellipse 85% 75% at 50% 55%, var(--red900) 0%, var(--bg) 68%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}

.loading-bg-orb {
    position: absolute; width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,27,36,0.18) 0%, transparent 70%);
    top: 20%; left: 50%; transform: translateX(-50%);
    filter: blur(40px); pointer-events: none;
}

.loading-logo-wrap {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 48px;
}
.loading-pulse-1, .loading-pulse-2 {
    position: absolute; width: 96px; height: 96px;
    border-radius: 50%; background: rgba(237,27,36,0.3);
    animation: pulse-ring 2.4s ease-out infinite;
}
.loading-pulse-2 {
    background: rgba(237,27,36,0.2);
    animation: pulse-ring2 2.4s ease-out 0.4s infinite;
}
.loading-logo {
    width: 96px; height: 96px; border-radius: 28px;
    background: linear-gradient(145deg, var(--red) 0%, var(--red600) 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
    animation: logo-breathe 2.4s ease-in-out infinite, glow-pulse 2.4s ease-in-out infinite;
    box-shadow: 0 0 32px 8px rgba(237,27,36,0.3), 0 12px 40px rgba(0,0,0,0.6);
}
.loading-logo__shine {
    position: absolute; inset: 0; border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.18) 0%, transparent 55%);
    pointer-events: none;
}
.loading-logo__letter {
    font-weight: 800; font-size: 44px; color: #fff;
    letter-spacing: -2px; position: relative; z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.loading-wordmark {
    text-align: center; margin-bottom: 52px;
    animation: fade-in 0.7s ease 0.3s both;
}
.loading-wordmark__title {
    font-weight: 700; font-size: 28px;
    color: var(--text); letter-spacing: -0.5px;
}
.loading-wordmark__sub {
    font-size: 13px; color: var(--text-sec); margin-top: 4px; letter-spacing: 0.3px;
}

.loading-progress-wrap {
    width: 180px; animation: fade-in 0.5s ease 0.6s both;
}
.loading-progress-track {
    height: 4px; border-radius: 99px;
    background: rgba(255,255,255,0.1); overflow: hidden;
}
.loading-progress-fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--red600), var(--red), #ff4d55);
    transition: width 0.5s ease;
    box-shadow: 0 0 8px 2px rgba(237,27,36,0.5);
}
.loading-progress-text {
    text-align: center; margin-top: 12px;
    font-size: 12px; color: var(--text-ter); letter-spacing: 0.2px;
}
.loading-version {
    position: absolute; bottom: 44px;
    font-size: 11px; color: var(--text-ter); letter-spacing: 0.2px;
}

/* ── Login screen ──────────────────────────────────────────────── */
.login-page {
    width: 100%; min-height: 100vh;
    background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(237,27,36,0.12) 0%, var(--bg) 60%);
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}
.login-orb {
    position: absolute; width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,27,36,0.1) 0%, transparent 70%);
    bottom: -80px; right: -100px;
    filter: blur(60px); pointer-events: none;
}
.login-header {
    padding: 56px 28px 28px;
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
}
.login-logo {
    width: 72px; height: 72px; border-radius: 20px;
    background: linear-gradient(145deg, var(--red) 0%, var(--red600) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(237,27,36,0.35), 0 2px 8px rgba(0,0,0,0.5);
    position: relative; margin-bottom: 4px;
}
.login-logo__shine {
    position: absolute; inset: 0; border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.2) 0%, transparent 55%);
}
.login-logo__letter {
    font-weight: 800; font-size: 32px; color: #fff; letter-spacing: -1.5px;
}
.login-title { font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -0.4px; }
.login-subtitle { font-size: 14px; color: var(--text-sec); text-align: center; line-height: 1.5; }

.login-card {
    margin: 0 20px;
    padding: 24px;
    display: flex; flex-direction: column; gap: 14px;
}

.form-field { display: flex; flex-direction: column; }
.form-label {
    font-size: 12px; font-weight: 600;
    color: var(--text-sec); letter-spacing: 0.3px;
    margin-bottom: 6px;
}
.form-input {
    width: 100%; height: 52px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text); font-size: 16px;
    font-family: inherit;
    padding: 0 16px; outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    caret-color: var(--red);
}
.form-input::placeholder { color: var(--text-ter); }
.form-input--focused {
    background: rgba(255,255,255,0.1);
    border-color: rgba(237,27,36,0.7);
    box-shadow: 0 0 0 3px rgba(237,27,36,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}

.login-error {
    font-size: 13px; color: #ff8a8e;
    text-align: center; padding: 8px 12px;
    border-radius: 10px;
    background: rgba(237,27,36,0.12);
    border: 1px solid rgba(237,27,36,0.25);
}

.login-forgot {
    text-align: center; margin-top: 20px;
    font-size: 14px; color: var(--text-sec);
}
.login-forgot__link { color: var(--red); font-weight: 500; cursor: pointer; }

.login-footer {
    position: absolute; bottom: 44px; left: 0; right: 0;
    text-align: center; font-size: 11px;
    color: var(--text-ter); letter-spacing: 0.2px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
    width: 100%; height: 52px; border-radius: 14px; border: none;
    background: linear-gradient(135deg, var(--red) 0%, var(--red600) 100%);
    color: #fff; font-size: 16px; font-weight: 600;
    font-family: inherit; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(237,27,36,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 4px;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary--loading { background: rgba(237,27,36,0.6); cursor: not-allowed; }

.spinner {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

/* ── Home screen ───────────────────────────────────────────────── */
.home-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 56px 20px 16px;
}
.home-name {
    font-size: 26px; font-weight: 700;
    color: var(--text); letter-spacing: -0.5px; line-height: 1.2;
}
.home-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red) 0%, var(--red600) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #fff;
    box-shadow: 0 4px 16px rgba(237,27,36,0.35);
    border: 2px solid rgba(237,27,36,0.5);
    text-transform: uppercase;
}

.card-wrap { padding: 0 20px 16px; }

/* ── Shift card ────────────────────────────────────────────────── */
.shift-card {
    border-radius: 24px;
    padding: 20px; position: relative; overflow: hidden;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.4);
}
.shift-card--morning { background: var(--morning-bg); border: 1px solid var(--morning-border); }
.shift-card--day     { background: var(--day-bg);     border: 1px solid var(--day-border); }
.shift-card--night   { background: var(--night-bg);   border: 1px solid var(--night-border); }

.shift-card__accent {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    border-radius: 24px 24px 0 0;
}
.shift-card--morning .shift-card__accent { background: linear-gradient(90deg, var(--morning-color), var(--red600)); }
.shift-card--day     .shift-card__accent { background: linear-gradient(90deg, var(--day-color), var(--red600)); }
.shift-card--night   .shift-card__accent { background: linear-gradient(90deg, var(--night-color), #6070e0); }

.shift-card__header {
    display: flex; justify-content: space-between;
    align-items: flex-start; margin-bottom: 16px;
}
.shift-card__name {
    font-size: 20px; font-weight: 700;
    color: var(--text); letter-spacing: -0.3px;
}
.shift-card__info-row {
    display: flex; gap: 10px;
}
.shift-info-item {
    flex: 1; background: rgba(255,255,255,0.05);
    border-radius: 12px; padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.07);
}
.shift-info-val { font-size: 13px; font-weight: 600; color: var(--text); }

/* ── Badges ────────────────────────────────────────────────────── */
.badge {
    font-size: 10px; font-weight: 600; letter-spacing: 0.4px;
    padding: 3px 9px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 5px;
}
.badge--upcoming {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-sec);
}
.badge--done {
    color: #6ee7b7;
    background: rgba(110,231,183,0.12);
    border: 1px solid rgba(110,231,183,0.25);
    font-size: 12px;
}
.badge--progress {
    color: var(--text-sec);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
}
.badge--assigned, .badge--shift-morning { color: var(--morning-color); background: var(--morning-bg); border: 1px solid var(--morning-border); }
.badge--shift-day    { color: var(--day-color);     background: var(--day-bg);     border: 1px solid var(--day-border); }
.badge--shift-night  { color: var(--night-color);   background: var(--night-bg);   border: 1px solid var(--night-border); }
.badge--backup {
    color: var(--text-ter);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 10px;
}

/* ── Progress bar ──────────────────────────────────────────────── */
.progress-bar {
    height: 3px; border-radius: 99px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}
.progress-bar__fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--red600), var(--red));
    transition: width 0.4s ease;
    box-shadow: 0 0 8px rgba(237,27,36,0.4);
}
.progress-bar__fill--done {
    background: linear-gradient(90deg, #059669, #34d399);
    box-shadow: none;
}

/* ── Task list ─────────────────────────────────────────────────── */
.tasks-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 8px;
}

.task-list { overflow: hidden; }
.task-list--morning { border-color: var(--morning-border); background-color: var(--morning-bg); }
.task-list--day     { border-color: var(--day-border);     background-color: var(--day-bg); }
.task-list--night   { border-color: var(--night-border);   background-color: var(--night-bg); }

.task-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; cursor: pointer;
    transition: background 0.15s ease;
}
.task-item:hover { background: rgba(255,255,255,0.03); }
.task-item--bordered { border-bottom: 1px solid rgba(255,255,255,0.06); }

.task-check {
    width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.task-check--lg { width: 24px; height: 24px; border-radius: 7px; }
.task-check--done {
    background: linear-gradient(135deg, var(--red), var(--red600));
    border: none;
    box-shadow: 0 2px 8px rgba(237,27,36,0.4);
}
.task-label {
    font-size: 14px; font-weight: 500; color: var(--text);
    transition: all 0.2s ease; flex: 1;
}
.task-label--done {
    color: var(--text-sec);
    text-decoration: line-through;
    font-weight: 400;
}

/* ── Shifts page ───────────────────────────────────────────────── */
.date-strip {
    padding: 10px 8px;
    display: flex; gap: 4px; overflow-x: auto;
    border-radius: 18px;
}
.date-btn {
    flex: 1 0 40px; display: flex; flex-direction: column;
    align-items: center; gap: 4px; padding: 8px 4px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px; cursor: pointer;
    transition: all 0.15s ease; color: inherit;
}
.date-btn--active {
    background: var(--red);
    box-shadow: 0 2px 12px rgba(237,27,36,0.4);
}
.date-btn__day {
    font-size: 10px; font-weight: 600;
    color: var(--text-ter); letter-spacing: 0.3px;
}
.date-btn--active .date-btn__day { color: rgba(255,255,255,0.75); }
.date-btn__num { font-size: 16px; font-weight: 700; color: var(--text); }
.date-btn--active .date-btn__num { color: #fff; }
.date-btn__dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--red);
}

.date-label {
    font-size: 12px; color: var(--text-ter);
    margin-top: 10px; margin-bottom: 4px;
}

.shift-group { margin-bottom: 12px; }
.shift-group__header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 8px;
}
.shift-group__type {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
}
.shift-group__type--morning { color: var(--morning-color); }
.shift-group__type--day     { color: var(--day-color); }
.shift-group__type--night   { color: var(--night-color); }
.shift-group__type--backup  { color: var(--text-sec); }

.shift-dot {
    width: 8px; height: 8px; border-radius: 50%;
}
.shift-dot--morning { background: var(--morning-color); }
.shift-dot--day     { background: var(--day-color); }
.shift-dot--night   { background: var(--night-color); }
.shift-dot--backup  { background: rgba(255,255,255,0.3); }

.employee-card {
    overflow: hidden;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
}
.employee-card--morning { border-color: var(--morning-border); background-color: var(--morning-bg); }
.employee-card--day     { border-color: var(--day-border);     background-color: var(--day-bg); }
.employee-card--night   { border-color: var(--night-border);   background-color: var(--night-bg); }

.employee-list { overflow: hidden; }
.employee-row {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px;
}
.employee-row--bordered { border-bottom: 1px solid rgba(255,255,255,0.06); }

.employee-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
}
.employee-avatar--morning { background: rgba(247,169,74,0.2); border: 1.5px solid rgba(247,169,74,0.4); color: var(--morning-color); }
.employee-avatar--day     { background: rgba(237,27,36,0.2);  border: 1.5px solid rgba(237,27,36,0.4);  color: var(--day-color); }
.employee-avatar--night   { background: rgba(148,163,255,0.2);border: 1.5px solid rgba(148,163,255,0.4);color: var(--night-color); }
.employee-avatar--backup  { background: rgba(255,255,255,0.07);border: 1.5px solid rgba(255,255,255,0.12);color: var(--text-sec); }
.employee-info { flex: 1; }
.employee-name { font-size: 14px; font-weight: 600; color: var(--text); }

/* ── Tasks page ────────────────────────────────────────────────── */
.shift-toggle {
    padding: 4px; display: flex; gap: 4px;
    border-radius: 14px;
}
.shift-toggle-btn {
    flex: 1; height: 36px; border: none; border-radius: 10px;
    background: transparent; color: var(--text-sec);
    font-size: 13px; font-weight: 400; cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}
.shift-toggle-btn--morning { background: var(--morning-color); color: #fff; font-weight: 600; box-shadow: 0 2px 10px rgba(247,169,74,0.35); }
.shift-toggle-btn--day     { background: var(--day-color);     color: #fff; font-weight: 600; box-shadow: 0 2px 10px rgba(237,27,36,0.35); }
.shift-toggle-btn--night   { background: var(--night-color);   color: #fff; font-weight: 600; box-shadow: 0 2px 10px rgba(148,163,255,0.35); }

.task-progress-bar-wrap { padding: 0 20px 12px; flex-shrink: 0; }
.task-progress-meta {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 8px;
}

/* ── Checkout page ─────────────────────────────────────────────── */
.phase-pills { display: flex; gap: 8px; margin-bottom: 12px; }
.phase-pill {
    font-size: 11px; font-weight: 600;
    padding: 4px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text-ter);
    border: 1px solid rgba(255,255,255,0.08);
    text-transform: capitalize; letter-spacing: 0.3px;
}
.phase-pill--active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.checkout-total-bar {
    margin: 0 20px 10px;
    padding: 14px 18px;
    display: flex; align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-radius: 16px;
}
.checkout-live-total {
    font-size: 26px; font-weight: 700;
    color: var(--text); letter-spacing: -0.8px;
}
.checkout-target { font-size: 14px; font-weight: 600; color: var(--text-sec); }
.checkout-target--exact { font-size: 14px; font-weight: 600; color: #6ee7b7; }

.checkout-summary {
    padding: 20px; margin-bottom: 16px; text-align: center;
    border-radius: 20px;
}
.checkout-summary--exact  { background: rgba(110,231,183,0.08); border-color: rgba(110,231,183,0.25); }
.checkout-summary--over   { background: rgba(237,27,36,0.08);   border-color: rgba(237,27,36,0.25); }
.checkout-total { font-size: 36px; font-weight: 700; color: var(--text); letter-spacing: -1px; }
.checkout-status { font-size: 13px; font-weight: 600; margin-top: 6px; }

.denom-section-label {
    font-size: 11px; font-weight: 600;
    color: var(--text-ter); letter-spacing: 0.5px;
    margin-bottom: 8px; margin-top: 4px;
}

.denom-list { overflow: hidden; }
.denom-row {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px;
}
.denom-row--bordered { border-bottom: 1px solid rgba(255,255,255,0.06); }

.denom-input-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
}

.denom-badge {
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    border-radius: 6px;
}
.denom-badge--bill, .denom-badge--bill {
    width: 52px; height: 28px;
    background: rgba(247,169,74,0.14);
    border: 1px solid rgba(247,169,74,0.3);
    color: #f7a94a;
}
.denom-badge--coin {
    width: 44px; height: 28px;
    border-radius: 999px;
    background: rgba(148,163,255,0.12);
    border: 1px solid rgba(148,163,255,0.28);
    color: #94a3ff;
}

.denom-input {
    width: 72px; height: 36px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: var(--text); font-size: 15px; font-weight: 600;
    text-align: right; padding: 0 10px;
    outline: none; font-family: inherit;
    transition: border-color 0.2s ease;
}
.denom-input:focus {
    border-color: rgba(237,27,36,0.5);
    background: rgba(255,255,255,0.09);
}

.checkout-confirm-wrap {
    padding: 8px 20px 110px; flex-shrink: 0;
}

/* ── Log page ──────────────────────────────────────────────────── */
.log-date-label {
    font-size: 11px; font-weight: 600;
    color: var(--text-ter); letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.log-list { overflow: hidden; }
.log-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px;
}
.log-item--bordered { border-bottom: 1px solid rgba(255,255,255,0.06); }

.log-icon {
    width: 32px; height: 32px; border-radius: 9px;
    flex-shrink: 0; margin-top: 1px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.log-icon--checkout { background: rgba(237,27,36,0.15); border-color: rgba(237,27,36,0.3); }
.log-icon--morning  { background: var(--morning-bg); border-color: var(--morning-border); }
.log-icon--day      { background: var(--day-bg);     border-color: var(--day-border); }
.log-icon--night    { background: var(--night-bg);   border-color: var(--night-border); }

.log-shift-label { font-size: 11px; margin-top: 2px; }
.log-shift-label--morning { color: var(--morning-color); }
.log-shift-label--day     { color: var(--day-color); }
.log-shift-label--night   { color: var(--night-color); }

.log-empty {
    padding: 32px; text-align: center;
    border-radius: 18px;
}
.log-empty__icon { font-size: 32px; margin-bottom: 10px; }

/* ── Misc ─────────────────────────────────────────────────────── */
.loading-state {
    padding: 20px; text-align: center;
    color: var(--text-ter); font-size: 14px;
}
