:root {
    --bg-1: #f3f0e7;
    --bg-2: #dfe9e2;
    --ink: #11231d;
    --muted: #58695e;
    --line: #cad6cc;
    --card: rgba(255, 255, 255, 0.8);
    --panel: rgba(255, 255, 255, 0.92);
    --accent: #198754;
    --accent-2: #2f73c9;
    --danger: #b01c2e;
    --warn: #d6a10c;
    --ok: #1f7a46;
    --sidebar: #3f3f3f;
    --sidebar-light: #565656;
    --shadow: 0 24px 60px rgba(17, 35, 29, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(247, 218, 124, 0.4), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(145, 208, 214, 0.28), transparent 26%),
        linear-gradient(145deg, var(--bg-1), var(--bg-2));
}

a {
    color: inherit;
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 42px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.brand h1 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.9rem);
}

.brand p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn,
button,
input,
select {
    font: inherit;
}

.btn,
button {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(25, 135, 84, 0.22);
}

.btn.secondary,
button.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.btn.ghost,
button.ghost {
    background: rgba(255, 255, 255, 0.68);
    color: var(--ink);
    border-color: rgba(17, 35, 29, 0.08);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card {
    border: 1px solid rgba(202, 214, 204, 0.95);
    border-radius: 20px;
    background: var(--card);
    backdrop-filter: blur(12px);
    padding: 18px;
    box-shadow: var(--shadow);
}

.card h2,
.card h3 {
    margin: 0 0 14px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

label {
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

input,
select {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

th,
td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(202, 214, 204, 0.85);
    vertical-align: top;
}

th {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge.in,
.badge.leave {
    background: rgba(176, 28, 46, 0.12);
    color: var(--danger);
}

.badge.out,
.badge.return,
.badge.ok {
    background: rgba(31, 122, 70, 0.12);
    color: var(--ok);
}

.badge.pause {
    background: rgba(214, 161, 12, 0.16);
    color: #8d6900;
}

.muted {
    color: var(--muted);
}

.message {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 600;
    margin-top: 12px;
}

.message.ok {
    background: #dbf4e6;
    color: var(--ok);
}

.message.error {
    background: #ffe2df;
    color: var(--danger);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.empty-state {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.stat-card {
    border: 1px solid rgba(202, 214, 204, 0.9);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 246, 0.82));
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    margin-top: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
}

.widget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.donut-widget {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    align-items: center;
}

.donut {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0 58%, transparent 59%),
        conic-gradient(var(--accent-2) var(--donut-fill, 25%), rgba(17, 35, 29, 0.07) 0);
    display: grid;
    place-items: center;
    color: var(--ink);
    font-size: 1.9rem;
    font-weight: 700;
}

.key-values {
    display: grid;
    gap: 12px;
}

.key-values div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(202, 214, 204, 0.6);
    padding-bottom: 8px;
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 142px 1fr;
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--sidebar), #4a4a4a);
    color: #f0f0f0;
    padding: 18px 0 10px;
    display: flex;
    flex-direction: column;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.sidebar-brand {
    padding: 0 18px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #d7d7d7;
}

.sidebar-user {
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sidebar-nav {
    display: grid;
}

.sidebar-link {
    color: #efefef;
    text-decoration: none;
    padding: 16px 14px;
    border-left: 4px solid transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 6px;
    place-items: center;
    text-align: center;
    min-height: 98px;
}

.sidebar-link.is-active,
.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.09);
    border-left-color: #3ba2ff;
}

.sidebar-link .icon {
    font-size: 1.9rem;
}

.admin-main {
    padding: 26px 24px 32px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.surface-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(202, 214, 204, 0.95);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.report-layout {
    display: grid;
    grid-template-columns: 1.8fr 0.72fr;
    gap: 16px;
}

.report-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.report-calendar {
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(202, 214, 204, 0.92);
}

.report-table {
    min-width: 980px;
}

.report-table th:first-child,
.report-table td:first-child {
    position: sticky;
    left: 0;
    background: #f7f7f7;
    z-index: 1;
}

.report-row-weekend td {
    background: rgba(17, 35, 29, 0.06);
}

.report-day {
    font-weight: 700;
}

.report-shift-bar {
    display: inline-block;
    width: 100%;
    min-height: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 115, 201, 0.95), rgba(47, 115, 201, 0.55));
}

.report-note {
    color: #9052aa;
    font-weight: 700;
}

.report-aside {
    padding: 18px;
}

.tabs {
    display: flex;
    gap: 18px;
    border-bottom: 1px solid rgba(202, 214, 204, 0.95);
    margin: 18px 0 14px;
    padding-bottom: 10px;
}

.tabs a {
    text-decoration: none;
    color: var(--muted);
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
}

.tabs a.is-active {
    color: var(--accent-2);
    border-bottom-color: var(--accent-2);
}

.mini-list {
    display: grid;
    gap: 10px;
}

.mini-list-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(202, 214, 204, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.kiosk {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 18px;
}

.kiosk-card {
    border: 1px solid #cfe0d5;
    border-radius: 34px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(8px);
    box-shadow: 0 28px 60px rgba(17, 36, 36, 0.2);
    padding: 28px;
}

.clock {
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    font-weight: 800;
    color: #16392d;
}

.table-actions {
    display: flex;
    gap: 8px;
}

table.dataTable thead th,
table.dataTable tbody td {
    border-bottom: 1px solid rgba(202, 214, 204, 0.85);
}

@media (max-width: 1180px) {
    .dashboard-grid,
    .widget-grid,
    .report-layout {
        grid-template-columns: 1fr;
    }

    .donut-widget {
        grid-template-columns: 1fr;
        justify-items: center;
    }

}

@media (max-width: 860px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding-bottom: 0;
    }

    .sidebar-nav {
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    }

    .sidebar-link {
        min-height: 78px;
        padding: 12px 8px;
    }

    .admin-main {
        padding: 18px 16px 28px;
    }

    .topbar,
    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.kiosk-compact {
    padding: 14px;
    position: relative;
}

.kiosk-tablet-card {
    width: min(1280px, 100%);
    min-height: min(92vh, 760px);
    padding: 28px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 22px;
}

.kiosk-date-wrap {
    padding-right: 72px;
}

.kiosk-debug {
    min-height: 24px;
    margin: 10px 0 0;
    font-size: 0.95rem;
}

.kiosk-status-bar {
    margin-top: 16px;
    min-height: 58px;
    border-radius: 18px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(202, 214, 204, 0.95);
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    color: #1d3b30;
}

.kiosk-status-bar.ok {
    background: #e7f8ee;
    border-color: #9cd8b4;
    color: var(--ok);
}

.kiosk-status-bar.error {
    background: #fff1ef;
    border-color: #f0b8b0;
    color: var(--danger);
}

.interruptions-grid {
    display: grid;
    align-content: start;
}

.kiosk-hamburger {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 20;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border: 1px solid rgba(202, 214, 204, 0.95);
    box-shadow: 0 18px 30px rgba(17, 35, 29, 0.12);
    padding: 0;
    display: grid;
    place-items: center;
    gap: 5px;
}

.kiosk-hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #18392d;
}

.scan-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 20px));
    z-index: 1080;
    width: min(640px, calc(100vw - 48px));
    border-radius: 28px;
    padding: 24px 28px;
    background: rgba(20, 48, 37, 0.96);
    color: #fff;
    box-shadow: 0 30px 80px rgba(17, 35, 29, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.scan-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.scan-toast-label {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.76;
}

.scan-toast-name {
    margin-top: 8px;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
}

.scan-toast-meta {
    margin-top: 6px;
    font-size: 1.05rem;
    opacity: 0.9;
}

@media (max-width: 860px) {
    .kiosk-tablet-card {
        padding: 20px;
        min-height: auto;
    }

    .kiosk-date-wrap {
        padding-right: 0;
    }

    .interruptions-grid {
        grid-template-columns: 1fr;
    }

    .kiosk-hamburger {
        top: 14px;
        right: 14px;
    }
}

.admin-body {
    background:
        radial-gradient(circle at 10% 10%, rgba(247, 218, 124, 0.26), transparent 24%),
        radial-gradient(circle at 90% 0%, rgba(145, 208, 214, 0.22), transparent 24%),
        linear-gradient(180deg, #f8f5ee, #e8f0eb);
}

.admin-body .btn {
    border-radius: 14px;
}

.admin-body .form-control,
.admin-body .form-select {
    border-radius: 14px;
    border-color: rgba(202, 214, 204, 0.95);
    padding: 0.85rem 1rem;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus,
.admin-body .btn:focus,
.admin-body .nav-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.16);
}

.admin-sidebar {
    padding: 0;
}

.admin-sidebar .offcanvas-header,
.admin-sidebar .offcanvas-body {
    color: inherit;
}

.admin-sidebar-offcanvas {
    max-width: 320px;
}

.sidebar-link {
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    border-radius: 16px;
    min-height: 54px;
    text-align: left;
}

.sidebar-link i {
    font-size: 1.1rem;
}

.sidebar-link.active,
.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-topbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(202, 214, 204, 0.95);
    border-radius: 22px;
    padding: 18px 22px;
    box-shadow: 0 14px 32px rgba(17, 35, 29, 0.08);
}

.admin-content .card {
    border-radius: 22px;
    padding: 0;
}

.admin-content .card .card-body {
    padding: 1.5rem;
}

.admin-content .table-responsive {
    overflow-x: auto;
}

.admin-content .table > :not(caption) > * > * {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.admin-content .list-group-item {
    background: transparent;
    border-color: rgba(202, 214, 204, 0.75);
}

.admin-content .nav-tabs {
    border-bottom-color: rgba(202, 214, 204, 0.95);
}

.admin-content .nav-tabs .nav-link {
    border-radius: 12px 12px 0 0;
    color: var(--muted);
}

.admin-content .nav-tabs .nav-link.active {
    color: var(--accent-2);
    font-weight: 600;
}

.report-calendar {
    border-radius: 22px;
}

.report-table th:first-child,
.report-table td:first-child {
    background: #f8f9fa;
}

.modal-content {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
}

.table-actions {
    justify-content: flex-end;
}

.admin-offcanvas {
    background: rgba(255, 255, 255, 0.96);
    border-left: 1px solid rgba(202, 214, 204, 0.95);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 12px;
    border: 1px solid rgba(202, 214, 204, 0.95);
    padding: 0.45rem 0.75rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
}

.report-toolbar-card .btn i {
    margin-right: 0.35rem;
}

.report-avatar {
    width: 132px;
    height: 132px;
    border-radius: 1.25rem;
    border: 1px solid rgba(202, 214, 204, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(240, 244, 241, 0.9));
    display: grid;
    place-items: center;
    color: #6d6d6d;
    font-size: 4rem;
}

.report-pane {
    display: none;
}

.report-pane.is-active {
    display: block;
}

.report-hour-col {
    min-width: 34px;
    font-size: 0.8rem;
}

.report-mark-cell {
    background: #9951a8;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.report-presence-cell {
    text-align: center;
    font-weight: 700;
}

.report-timeline-cell {
    min-width: 720px;
    padding: 0.55rem 0.75rem !important;
}

.report-timeline-grid {
    position: relative;
    height: 38px;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 244, 242, 0.96));
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    border: 1px solid rgba(210, 218, 212, 0.95);
}

.report-timeline-hour {
    border-right: 1px solid rgba(202, 214, 204, 0.9);
}

.report-timeline-hour:last-child {
    border-right: 0;
}

.report-timeline-segment {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
    border-radius: 999px;
    z-index: 2;
    min-width: 6px;
}

.report-timeline-segment-work {
    background: color-mix(in srgb, var(--segment-color, #49b675) 85%, white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--segment-color, #49b675) 55%, white);
}

.report-timeline-segment-interruption {
    height: 14px;
    background: color-mix(in srgb, var(--segment-color, #2f73c9) 84%, white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--segment-color, #2f73c9) 55%, white);
}

.report-timeline-marker {
    position: absolute;
    top: 2px;
    bottom: 2px;
    width: 2px;
    transform: translateX(-50%);
    z-index: 3;
    border-radius: 999px;
}

.report-timeline-marker-in {
    background: #1f1f1f;
}

.report-timeline-marker-out {
    background: #4a4a4a;
}

.report-timeline-marker-cap {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 10px rgba(17, 35, 29, 0.18);
}

.report-timeline-marker-cap-in {
    background: #1f1f1f;
}

.report-timeline-marker-cap-out {
    background: #4a4a4a;
}

.report-work-total {
    background: linear-gradient(180deg, #1d77da, #1866bb);
    color: #fff;
    font-weight: 700;
}

.legend-swatch-cell {
    width: 48px;
}

.legend-swatch {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 0;
}

.legend-swatch-inline {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.report-color-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    background: color-mix(in srgb, var(--badge-color, #49b675) 16%, white);
    color: color-mix(in srgb, var(--badge-color, #49b675) 88%, black 12%);
    border: 1px solid color-mix(in srgb, var(--badge-color, #49b675) 32%, white);
}

.report-shift-list {
    display: grid;
    gap: 0.9rem;
}

.report-shift-item {
    border: 1px solid rgba(202, 214, 204, 0.92);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.72);
}

.report-shift-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.report-shift-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.report-shift-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.kiosk-tablet-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 252, 250, 0.86));
    border: 1px solid rgba(202, 214, 204, 0.95);
    border-radius: 34px;
    box-shadow: 0 28px 60px rgba(17, 36, 36, 0.2);
    width: min(1280px, 100%);
    min-height: min(92vh, 760px);
    padding: 32px 34px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1.25rem;
}

.interruptions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.kiosk-action-layout {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 1rem;
    min-height: 0;
}

.kiosk-interruptions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    align-content: start;
}

.kiosk-attendance-row {
    display: grid;
    grid-template-columns: 1fr;
}

.kiosk-action-card {
    --bs-card-bg: linear-gradient(180deg, color-mix(in srgb, var(--tile, #db2936) 92%, white), color-mix(in srgb, var(--tile, #db2936) 96%, black 4%));
    background: var(--bs-card-bg);
    border-radius: 8px;
    overflow: hidden;
    min-height: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, outline-color 0.18s ease;
    border: 3px solid rgba(255, 255, 255, 0.72);
    color: #fff;
    position: relative;
}

.kiosk-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(17, 35, 29, 0.16);
}

.kiosk-action-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.3rem rgba(255, 255, 255, 0.28), 0 18px 30px rgba(17, 35, 29, 0.16);
}

.kiosk-action-card-main {
    --tile: #cf2430;
}

.kiosk-action-card-body {
    min-height: 160px;
    height: 100%;
    padding: 1.15rem 0.95rem;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.8rem;
}

.kiosk-attendance-card-body {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.15rem 1.4rem;
}

.kiosk-action-copy h2,
.kiosk-action-copy h3 {
    color: #fff;
    line-height: 1.05;
    font-weight: 700;
}

.kiosk-action-copy p {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 1.02rem;
}

.kiosk-card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
}

.kiosk-card-icon {
    font-size: 1.5rem;
    color: #fff;
}

.kiosk-action-card.is-selected {
    transform: translateY(-3px);
    box-shadow: 0 0 0 0.28rem #ffffff, 0 0 0 0.62rem rgba(17, 35, 29, 0.92), 0 24px 42px rgba(17, 35, 29, 0.22);
    border-color: #ffffff;
}

.kiosk-action-card.is-selected::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    pointer-events: none;
}

.kiosk-interruption-card .kiosk-action-copy h2 {
    font-size: 1.35rem;
}

.kiosk-attendance-card .kiosk-card-icon-wrap {
    width: 64px;
    height: 64px;
}

.kiosk-attendance-card .kiosk-card-icon {
    font-size: 1.8rem;
}

.kiosk-attendance-card .kiosk-action-copy {
    text-align: left;
}

.admin-offcanvas .btn {
    border-radius: 14px;
}

@media (max-width: 1180px) {
    .kiosk-interruptions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .kiosk-tablet-card {
        padding: 20px;
        min-height: auto;
    }

    .kiosk-interruptions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kiosk-attendance-card-body {
        flex-direction: column;
        text-align: center;
    }

    .kiosk-attendance-card .kiosk-action-copy {
        text-align: center;
    }
}
