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

:root {
    --bg:        #0a0a0a;
    --surface:   #1a1a1a;
    --surface-2: #222222;
    --border:    #2a2a2a;
    --accent:    #f5c518;
    --accent-hover: #e6b800;
    --text:      #ffffff;
    --text-muted:#888888;
    --error:     #e74c3c;
    --success:   #2ecc71;
    --warning:   #f39c12;
    --danger:    #e74c3c;
    --radius:    12px;
    --input-h:   48px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    min-height: 100vh;
}

/* ── Public layout ── */
.public-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ── Forms ── */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    height: var(--input-h);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    padding: 0 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--accent);
}

.btn {
    display: block;
    width: 100%;
    height: var(--input-h);
    background: var(--accent);
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 24px;
}

.btn:hover { background: var(--accent-hover); }

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--accent);
    text-decoration: none;
}

.auth-links a:hover { text-decoration: underline; }

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

/* ── Alerts ── */
.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.alert-error   { background: rgba(231,76,60,0.15); color: var(--error); border: 1px solid rgba(231,76,60,0.3); }
.alert-success { background: rgba(46,204,113,0.15); color: var(--success); border: 1px solid rgba(46,204,113,0.3); }

/* ── Customer layout ── */
.customer-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 70px;
}

.page-content {
    flex: 1;
    padding: 24px 16px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

/* ── Bottom nav ── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    flex: 1;
    padding: 8px 0;
    transition: color 0.2s;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.nav-item.active, .nav-item:hover { color: var(--accent); }

/* ── QR Screen ── */
.qr-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
}

.qr-greeting {
    text-align: center;
}

.qr-greeting p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.qr-greeting h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

.qr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    width: 100%;
}

.qr-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.qr-image {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.qr-image img {
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    width: 280px;
    height: 280px;
}

.qr-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 16px;
}

/* ── Page header ── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.page-header h2 { font-size: 1.4rem; font-weight: 700; }
.text-muted { color: var(--text-muted); font-size: 0.9rem; margin-top: 2px; }
.app-logo { height: 44px; width: 44px; object-fit: contain; flex-shrink: 0; }

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}
.empty-state svg { width: 48px; height: 48px; fill: var(--border); margin-bottom: 12px; }
.empty-state p { font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.empty-state span { font-size: 0.85rem; }

/* ── Wallet-style loyalty cards ── */
.cards-list { display: flex; flex-direction: column; gap: 16px; }

.wallet-card {
    border-radius: 20px;
    padding: 20px 20px 48px;
    color: #fff;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
    min-height: 172px;
}
.wallet-card:active { transform: scale(0.98); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }

.wallet-card-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
}
.wallet-card-circle-1 { width: 180px; height: 180px; right: -50px; top: -70px; }
.wallet-card-circle-2 { width: 110px; height: 110px; right: 50px; top: 80px; }

.wallet-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
}

.wallet-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    overflow: hidden;
    flex-shrink: 0;
}
.wallet-logo img { width: 100%; height: 100%; object-fit: cover; }

.wallet-venue-name  { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.2; }
.wallet-venue-city  { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

.wallet-reward-badge {
    margin-left: auto;
    background: rgba(255,255,255,0.22);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* stamp grid */
.stamp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
    position: relative;
}

.stamp {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: transparent;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.stamp.filled {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
    color: #333;
}
.stamp.prize:not(.filled) {
    border-color: rgba(255,255,255,0.55);
    color: rgba(255,255,255,0.7);
}

.wallet-progress-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    position: relative;
}
.wallet-progress-text strong { color: #fff; }

/* bar for points / large punch counts */
.wallet-bar {
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}
.wallet-bar-fill {
    height: 100%;
    background: rgba(255,255,255,0.8);
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* big points number */
.wallet-points-number {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}
.wallet-points-number span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
}

.wallet-arrow {
    position: absolute;
    right: 18px;
    bottom: 16px;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.4);
    line-height: 1;
}

/* ── Profile / section cards ── */
.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-outline {
    display: block;
    width: 100%;
    height: var(--input-h);
    background: transparent;
    color: var(--error);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--error);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    line-height: var(--input-h);
    text-decoration: none;
    transition: background 0.2s;
}
.btn-outline:hover { background: rgba(231,76,60,0.1); }

/* ── Account info rows ── */
.account-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.account-info:last-of-type { border-bottom: none; }
.account-label { color: var(--text-muted); }

.role-badge {
    background: rgba(245,197,24,0.15);
    color: var(--accent);
    border: 1px solid rgba(245,197,24,0.3);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Admin layout ── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 220px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    transition: transform 0.25s ease;
}

/* Mobile top bar */
.admin-topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    align-items: center;
    padding: 0 16px;
    z-index: 100;
    gap: 12px;
}
.admin-topbar-title { font-weight: 700; color: var(--accent); font-size: 1rem; flex: 1; }
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.2s;
}

/* Overlay backdrop */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
}
.sidebar-overlay.active { display: block; }

@media (max-width: 768px) {
    .admin-topbar { display: flex; }
    .admin-sidebar {
        transform: translateX(-100%);
        top: 0;
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main {
        margin-left: 0 !important;
        padding: 80px 16px 24px !important;
    }
}

.admin-brand {
    padding: 0 20px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
.admin-brand span { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.admin-brand small { display: block; font-size: 0.75rem; color: var(--text-muted); }

.admin-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.admin-nav-item svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.admin-nav-item:hover { background: var(--bg); color: var(--text); }
.admin-nav-item.active { background: rgba(245,197,24,0.1); color: var(--accent); }

.admin-logout {
    margin: 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--error);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.admin-logout:hover { background: rgba(231,76,60,0.1); }

.admin-main {
    margin-left: 220px;
    flex: 1;
    padding: 32px;
    max-width: 960px;
}

/* ── Stats grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-card.accent { border-color: rgba(245,197,24,0.4); }

.stat-value { font-size: 1.8rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ── Admin table ── */
.admin-table-wrap { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table td small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.admin-table tr:hover td { background: var(--surface); }

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-green  { background: rgba(46,204,113,0.15); color: var(--success); border: 1px solid rgba(46,204,113,0.3); }
.badge-red    { background: rgba(231,76,60,0.15);  color: var(--error);   border: 1px solid rgba(231,76,60,0.3); }
.badge-gold   { background: rgba(245,197,24,0.15); color: var(--accent);  border: 1px solid rgba(245,197,24,0.3); }
.badge-gray   { background: rgba(136,136,136,0.15); color: var(--text-muted); border: 1px solid var(--border); }

/* ── Misc ── */
.back-link { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 8px; }
.back-link:hover { color: var(--text); }

.admin-quick-links { display: flex; flex-direction: column; gap: 8px; }
.quick-link {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.quick-link:hover { border-color: var(--accent); color: var(--accent); }

.form-select {
    width: 100%;
    height: var(--input-h);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    padding: 0 14px;
    outline: none;
}
.form-select:focus { border-color: var(--accent); }

.btn-sm {
    padding: 6px 14px;
    background: var(--accent);
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ── Remember me ── */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

/* ── Profile avatar ── */
.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    overflow: hidden;
    border: 3px solid var(--border);
}

/* ── Admin / Venue card ── */
.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

/* ── Alert variants ── */
.alert-warning { background: rgba(243,156,18,0.15); color: var(--warning); border: 1px solid rgba(243,156,18,0.3); }

/* ── Radio card (program type selector) ── */
.radio-card {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--surface-2);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.radio-card input[type="radio"] { accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.radio-card span { display: flex; flex-direction: column; gap: 2px; }
.radio-card span strong { font-size: 0.95rem; }
.radio-card span small { font-size: 0.78rem; color: var(--text-muted); }
.radio-card.active { border-color: var(--accent); }

/* ── Card detail (customer) ── */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.btn-back:hover { color: var(--text); }
.btn-back svg { fill: currentColor; }

/* gradient venue banner */
.venue-banner {
    border-radius: 20px;
    padding: 18px 20px 22px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.venue-banner-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}
.venue-banner-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
}
.venue-banner-back svg { fill: rgba(255,255,255,0.8); }
.venue-banner-info {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}
.venue-banner-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
}
.venue-banner-circle-1 { width: 160px; height: 160px; right: -40px; top: -60px; }
.venue-banner-circle-2 { width: 90px;  height: 90px;  right: 60px; top: 80px; }

.venue-banner-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    flex-shrink: 0;
}
.venue-banner-logo img { width: 100%; height: 100%; object-fit: cover; }
.venue-banner-name { font-size: 1.2rem; font-weight: 700; color: #fff; }
.venue-banner-city { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 3px; }

/* rewards section */
.rewards-section { margin-bottom: 20px; }
.reward-ready-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(245,197,24,0.08);
    border: 1px solid rgba(245,197,24,0.25);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 8px;
}
.reward-ready-card strong { font-size: 0.95rem; }

/* program cards on detail page */
.programs-section { margin-bottom: 24px; }
.program-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 12px;
}
.program-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.program-type-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* detail stamp grid (dark bg, accent color) */
.stamp-grid-dark {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.stamp-dark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: transparent;
    flex-shrink: 0;
}
.stamp-dark.filled {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}
.stamp-dark.prize:not(.filled) {
    border-color: rgba(245,197,24,0.4);
    color: rgba(245,197,24,0.5);
}

/* detail progress bar */
.detail-bar {
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.detail-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.6s ease;
}
.detail-points-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}
.detail-points-number span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.detail-progress-text { font-size: 0.82rem; color: var(--text-muted); }

/* ── Reward history rows ── */
.reward-history-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}
.reward-history-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}
.reward-history-icon.redeemed { background: rgba(46,204,113,0.15); color: var(--success); }
.reward-history-icon.expired  { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.reward-history-name   { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reward-history-venue  { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.reward-history-status { font-size: 0.75rem; font-weight: 600; }
.reward-history-status.redeemed { color: var(--success); }
.reward-history-status.expired  { color: var(--text-muted); }
.reward-history-date   { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* ── Employee scan ── */
.scan-box { max-width: 480px; }

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.form-input {
    width: 100%;
    height: var(--input-h);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    padding: 0 14px;
    outline: none;
}
.form-input:focus { border-color: var(--accent); }

.btn-primary { /* inherits .btn */ }

.btn-secondary {
    display: block;
    width: 100%;
    height: var(--input-h);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    line-height: var(--input-h);
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--text); color: var(--text); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ── Employee punch selection ── */
.customer-card-preview { text-align: center; padding: 24px 0; margin-bottom: 8px; }
.customer-card-preview h3 { font-size: 1.2rem; font-weight: 700; margin-top: 12px; }

.customer-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    overflow: hidden;
    border: 3px solid var(--border);
    margin: 0 auto;
}
.customer-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

.program-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.program-option.selected { border-color: var(--accent); }
.program-option.blocked { opacity: 0.45; cursor: not-allowed; }
.program-option input[type="radio"] { accent-color: var(--accent); flex-shrink: 0; }
.program-option-info { display: flex; flex-direction: column; gap: 2px; }
.program-option-info strong { font-size: 0.95rem; }
.program-option-info span { font-size: 0.8rem; color: var(--text-muted); }
.radio-card:hover { border-color: var(--accent); }
