/* Project design tokens and adjustments on top of the Porto theme. Never edit theme.css. */
:root {
    --app-accent: #0088cc;
    --app-muted: #6c757d;
}

/* Public pages */
.site-nav { background: #fff; border-bottom: 1px solid #e2e3e5; padding: 16px 0; }
.site-brand { color: #1d2127; font-size: 18px; font-weight: 700; text-decoration: none; }
.site-main { padding-top: 24px; padding-bottom: 48px; }
.hero { padding: 40px 0 32px; text-align: center; }
.hero h1 { color: #1d2127; font-weight: 700; }
.hero-note { color: var(--app-muted); }
.feature { text-align: center; padding: 28px 20px; }
.feature i { color: var(--app-accent); font-size: 28px; }
.feature h2 { color: #1d2127; font-size: 18px; margin-top: 14px; }
.debug-detail { background: #1d2127; color: #f1f1f1; padding: 16px; border-radius: 4px; white-space: pre-wrap; }

/* Application layout */
.header .logo.app-logo { color: #1d2127; font-size: 16px; font-weight: 700; line-height: 40px; text-decoration: none; }
.header.header-nav-menu .header-right { display: flex; align-items: center; justify-content: flex-end; height: 60px; padding-right: 20px; }
.header-right .dropdown-menu { z-index: 1100; }

/* Drop-down lists of the top menu. The theme opens them on hover with its own script; Bootstrap adds clicks and keys. */
.header-nav-main .dropdown-item.app-current { background: #f4f6f8; font-weight: 700; }
@media only screen and (min-width: 992px) {
    .header-nav-main nav > ul > li.dropdown > .dropdown-menu.show { opacity: 1; top: auto; }
    /* A list left open by a click gives way to the one under the pointer. */
    .header-nav-main nav > ul:hover > li.dropdown:not(:hover) > .dropdown-menu.show { opacity: 0; top: -10000px; }
}
@media only screen and (max-width: 991px) {
    .header.header-nav-menu .header-nav-main nav > ul li.dropdown > .dropdown-menu.show { display: block; margin-left: 20px; }
}

/* Laptop widths: keep the menu and the user button on one row. */
@media only screen and (min-width: 992px) and (max-width: 1399px) {
    .header.header-nav-menu .logo.app-logo { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .header-nav-main nav > ul > li > a > i { display: none; }
    .header-nav-main nav > ul > li > a { padding-left: 8px; padding-right: 8px; }
    .header.header-nav-menu .header-right { position: absolute; right: 0; top: 0; }
    /* Still read out by screen readers. */
    .header.header-nav-menu .app-user { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; width: 1px; }
}

/* Sign-in pages */
.sign-brand { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.sign-brand a { color: #1d2127; font-size: 18px; font-weight: 700; text-decoration: none; }
.card-sign .title { font-size: 14px; }
.sign-admin .card-sign .card-body { border-top-color: #1d2127; }
.sign-admin .card-sign .card-title-sign .title { background: #1d2127; }
.steps li { margin-bottom: 10px; }
.setup-key { display: block; font-size: 15px; margin: 6px 0; overflow-wrap: anywhere; }
.recovery-codes { columns: 2; list-style: none; padding: 0; }
.narrow { max-width: 560px; }
.agent { max-width: 320px; overflow-wrap: anywhere; }

.qr-code { background: #fff; display: block; margin: 10px 0; max-width: 100%; }
.stat { color: #1d2127; font-size: 32px; font-weight: 700; margin: 0; }
.subheading { font-size: 15px; margin-top: 24px; }

.setting-help { margin-top: -8px; margin-bottom: 20px; }

.pin { font-size: 22px; letter-spacing: 4px; }
.id-card { background: #fff; border: 1px solid #999; border-radius: 8px; color: #1d2127; padding: 16px; text-align: center; width: 340px; }
.id-card p { margin: 0 0 4px; }
.id-company { font-weight: 700; text-transform: uppercase; }
.id-name { font-size: 20px; font-weight: 700; }
.id-type { color: var(--app-muted); }
.id-barcode { display: block; height: 60px; margin: 12px auto 4px; max-width: 100%; }
.id-number { letter-spacing: 2px; }
@media print {
    .header, .page-header, .no-print { display: none !important; }
    html.fixed .inner-wrapper { padding-top: 0; }
    body, html { background: #fff; }
}

/* Schedule and punches */
.schedule th, .schedule td { min-width: 120px; vertical-align: top; }
.schedule th:first-child, .schedule td:first-child { min-width: 180px; }
.shift-entry { border-left: 4px solid var(--app-accent); background: #f4f6f8; border-radius: 3px; margin-bottom: 4px; padding: 4px 6px; }
.shift-entry label { margin: 0; }
.shift-c1 { border-left-color: #47a447; }
.shift-c2 { border-left-color: #ed9c28; }
.shift-c3 { border-left-color: #734ba9; }
.shift-c4 { border-left-color: #d2322d; }
.shift-c5 { border-left-color: #1d2127; }
.pick-list { border: 1px solid #ced4da; border-radius: 4px; max-height: 260px; overflow: auto; padding: 8px 12px; }

/* Components */
.required { color: #d2322d; }
.empty-state { color: var(--app-muted); padding: 24px; text-align: center; }
.empty-state i { font-size: 32px; }
.empty-state h3 { color: #1d2127; font-size: 16px; margin-top: 12px; }
.attendance-meter { width: 8rem; vertical-align: middle; }
