.form-check-input {
    border-color: #cbcbcb;
}


:root {
    --bs-border-color: #eaeaea
}

.datatable-messages tr td {
    cursor: pointer
}

.swal2-header {
    //border-bottom: 1px solid #e1e1e1;
    margin-bottom: 11px;
}

.swal2-header h2 {
    font-size: 16px !important;
}

.swal2-popup {
    font-size: inherit !important;
}

.dropdown-menu {
    z-index: 999999999;
}

body.test-banner::before {
    content: 'STAGING ENVIRONMENT';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: red;
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    z-index: 9999999999;
}

body[data-layout="horizontal"].test-banner .page-content {
    margin-top: 0px !important;
}

body.test-banner {
    padding-top: calc(70px + 30px);
}

body.test-banner #page-topbar {
    top: 30px;
}

/* Active time-registration widget (header) */
.active-timer {
    height: 70px;
    padding: 0 24px;
    margin: 0 8px;
    gap: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease;
}

.active-timer:hover {
    background: rgba(255, 255, 255, 0.12);
}

.active-timer__pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff4d5e;
    box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.7);
    animation: activeTimerPulse 1.6s ease-out infinite;
    flex-shrink: 0;
}

@keyframes activeTimerPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 77, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); }
}

.active-timer__body {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.active-timer__label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-timer__label:empty::before {
    content: "Recording";
    opacity: 0.8;
}

.active-timer__elapsed {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.active-timer__stop {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.active-timer__stop:hover {
    background: #dc3545;
    border-color: #dc3545;
}

.active-timer__stop:active {
    transform: translateY(1px);
}

.active-timer__stop .fa {
    font-size: 10px;
}

@media (max-width: 767px) {
    .active-timer {
        padding: 0 12px;
        gap: 8px;
    }
    .active-timer__stop-label { display: none; }
    .active-timer__label { max-width: 140px; }
}

/* Mobile time-registration page */
.mobile-timer-pulse {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    animation: activeTimerPulse 1.6s ease-out infinite;
}

.mobile-timer-elapsed {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}