:root {
    --sc-accent: #a83a32;
    --sc-accent-soft: #f1e2de;
}

body {
    min-height: 100vh;
}

.app-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 16px 96px;
}

.navbar-brand {
    font-weight: 700;
    color: var(--sc-accent) !important;
}

.btn-accent {
    background-color: var(--sc-accent);
    border-color: var(--sc-accent);
    color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
    background-color: #8c2f28;
    border-color: #8c2f28;
    color: #fff;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    z-index: 1030;
}
.bottom-nav a {
    flex: 1;
    text-align: center;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.78rem;
    padding: 6px 0;
}
.bottom-nav a.active {
    color: var(--sc-accent);
    font-weight: 600;
}
.bottom-nav .nav-icon {
    display: block;
    font-size: 1.25rem;
    line-height: 1.2;
}

.stamp-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    border: 1px solid var(--bs-border-color);
}
.stamp-dot.filled {
    background: var(--sc-accent);
    color: #fff;
    border-color: var(--sc-accent);
}

.qr-frame {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 8px 24px -12px rgba(0,0,0,0.25);
}

.status-pill {
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 999px;
}
.status-pill.active { background: #dff3e6; color: #1e6b3c; }
.status-pill.suspended { background: #fde3e1; color: #a13327; }

#qr-reader {
    border-radius: 12px;
    overflow: hidden;
}

.center-screen {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-inline {
    width: 1rem;
    height: 1rem;
}
