body {
  /* padding: 50px; */
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

#qr-code {
    position: relative;
    transition: transform 150ms ease-in-out;
}
  
#qr-code svg:nth-child(1) { /* <= optional, for responsiveness */
    display: block;
    max-width: 100%;
    height: auto;
}

#qr-code svg:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
}

.video-checkin {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

td {
    height: 50px;
    vertical-align: middle;
}
th {
    text-align: center;
}
/* .scan-region-highlight-svg, .code-outline-highlight {
    stroke: #64a2f3 !important;
} */

.table > tbody > tr > td  {
    vertical-align: middle;
}

/* Shift cards in admin check-in list */
.shift-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-width: 540px;
}
.shift-card {
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.shift-card.on-time {
    background-color: #28a745;
    color: #ffffff;
}
.shift-card.late {
    background-color: #ffc107;
    color: #212529;
}
.shift-card.pending {
    background-color: #e9ecef;
    color: #495057;
}
.shift-card.empty {
    background-color: #f1f3f5;
    color: #adb5bd;
    box-shadow: none;
    opacity: 0.8;
}
.shift-card .shift-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.shift-card .shift-status {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}
.shift-card .shift-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.35);
    font-size: 13px;
}
.shift-card.pending .shift-details,
.shift-card.empty .shift-details {
    border-top-color: rgba(0,0,0,0.12);
}
.shift-card .shift-time-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.shift-card .shift-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.shift-card .shift-actions .btn {
    padding: 4px 8px;
    font-size: 12px;
}
.group-badges .badge {
    margin-right: 4px;
    margin-bottom: 2px;
}