* {
    box-sizing: border-box;
}

:root {
    --black: #050505;
    --black-2: #0b0b0b;
    --black-3: #141414;
    --gold-1: #6f5319;
    --gold-2: #a97c22;
    --gold-3: #d4a63a;
    --gold-4: #f2d07a;
    --gold-5: #fff1c2;
    --text: #f7f1df;
    --soft: rgba(247, 241, 223, .72);
    --muted: rgba(247, 241, 223, .48);
    --border: rgba(212, 166, 58, .28);
    --glass: rgba(255, 255, 255, .055);
    --glass-2: rgba(255, 255, 255, .035);
}

html,
body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #050505;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -4;
        background: radial-gradient(circle at 18% 8%, rgba(242, 208, 122, .20), transparent 26%), radial-gradient(circle at 95% 15%, rgba(169, 124, 34, .18), transparent 34%), radial-gradient(circle at 50% 100%, rgba(80, 65, 35, .16), transparent 42%), linear-gradient(180deg, #030303 0%, #090909 44%, #101010 100%);
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -3;
        opacity: .11;
        background-image: linear-gradient(45deg, rgba(255,255,255,.09) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.09) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.09) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.09) 75%);
        background-size: 42px 42px;
        background-position: 0 0, 0 21px, 21px -21px, -21px 0;
        pointer-events: none;
    }

button,
input,
select {
    font-family: inherit;
}

.hidden {
    display: none !important;
}

.tactical-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

    .tactical-bg::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        top: -260px;
        left: 50%;
        transform: translateX(-50%);
        background: radial-gradient(circle, rgba(212,166,58,.20), transparent 68%);
        filter: blur(8px);
        animation: pulseGlow 4s infinite ease-in-out;
    }

    .tactical-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 135deg, rgba(212,166,58,.055) 0px, rgba(212,166,58,.055) 2px, transparent 2px, transparent 19px );
        opacity: .45;
    }

@keyframes pulseGlow {
    0%, 100% {
        opacity: .65;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

.phone-page {
    width: calc(100% - 24px);
    max-width: 430px;
    margin: 18px auto 28px;
    padding: 18px 14px 24px;
    min-height: auto;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    border: 1px solid rgba(212,166,58,.20);
    box-shadow: 0 30px 80px rgba(0,0,0,.68), 0 0 24px rgba(212,166,58,.08), inset 0 1px 0 rgba(255,255,255,.04);
    position: relative;
}

.brand-card,
.login-card {
    background: linear-gradient(180deg, var(--glass), var(--glass-2));
    border: 1px solid var(--border);
    box-shadow: 0 22px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter: blur(18px);
}

.tactical-card {
    position: relative;
    overflow: hidden;
}

    .tactical-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 30%), linear-gradient(315deg, rgba(212,166,58,.09), transparent 48%);
        pointer-events: none;
    }

    .tactical-card > * {
        position: relative;
        z-index: 1;
    }

.brand-card {
    border-radius: 28px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.brand-header-img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    margin: 0 auto 14px;
    border: 1px solid rgba(212,166,58,.20);
    box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 16px rgba(212,166,58,.10);
}

.badge-line {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212,166,58,.34);
    background: rgba(212,166,58,.08);
    color: var(--gold-4);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.brand-card h1 {
    margin: 0;
    color: var(--gold-5);
    font-size: 28px;
    letter-spacing: .5px;
    text-shadow: 0 0 20px rgba(212,166,58,.16);
}

.brand-card p {
    margin: 10px 0 0;
    color: var(--soft);
    line-height: 1.5;
    font-size: 14px;
}

.login-card {
    border-radius: 28px;
    padding: 18px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--gold-4);
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .9px;
    font-size: 17px;
}

label {
    display: block;
    margin: 10px 0 7px;
    color: var(--gold-4);
    font-size: 13px;
    font-weight: 800;
}

input,
select {
    width: 100%;
    height: 56px;
    border-radius: 17px;
    border: 1px solid rgba(212,166,58,.20);
    background: linear-gradient(180deg, rgba(0,0,0,.48), rgba(255,255,255,.025));
    color: var(--text);
    padding: 0 15px;
    font-size: 15px;
    outline: none;
    transition: .2s ease;
    color-scheme: dark;
}

    input::placeholder {
        color: rgba(255,255,255,.36);
    }

    input:focus,
    select:focus {
        border-color: var(--gold-3);
        box-shadow: 0 0 0 4px rgba(212,166,58,.12), 0 0 18px rgba(212,166,58,.12);
        transform: translateY(-1px);
    }

.login-btn,
.ghost-btn {
    position: relative;
    overflow: hidden;
    transition: .18s ease;
}

.login-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 19px;
    margin-top: 14px;
    cursor: pointer;
    color: #1e1407;
    font-size: 17px;
    font-weight: 1000;
    letter-spacing: .3px;
    background: linear-gradient(135deg, #6f5319 0%, var(--gold-3) 34%, var(--gold-5) 50%, var(--gold-3) 66%, #6f5319 100%);
    box-shadow: 0 16px 34px rgba(212,166,58,.22), inset 0 1px 0 rgba(255,255,255,.34);
}

.ghost-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 17px;
    border: 1px solid rgba(212,166,58,.26);
    background: rgba(212,166,58,.075);
    color: var(--gold-4);
    font-weight: 900;
    margin-top: 10px;
    cursor: pointer;
}

.testes {
    margin-top: 16px;
    display: grid;
    gap: 6px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.password-wrap {
    position: relative;
    width: 100%;
}

    .password-wrap input {
        padding-right: 54px !important;
    }

.toggle-pass {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212,166,58,.22);
    border-radius: 12px;
    background: rgba(212,166,58,.10);
    color: #f2d07a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
}

.termo-box {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(212,166,58,.20);
}

.check-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,.76);
    line-height: 1.45;
    font-size: 12px;
    margin: 0;
}

    .check-line input {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        margin-top: 2px;
    }

select option {
    background: #101010 !important;
    color: #f7f1df !important;
}

    select option:hover,
    select option:focus,
    select option:checked {
        background: #1b1b1b !important;
        color: #f2d07a !important;
    }

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

@media (max-width: 700px) {
    .phone-page {
        width: 100%;
        max-width: 480px;
        min-height: 100vh;
        margin: 0 auto;
        padding: 22px 16px 34px;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
}
/* ===== EFEITOS EXTRAS INDEX ===== */

.phone-page {
    animation: appEnter .45s ease both;
}

@keyframes appEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand-card {
    position: relative;
    overflow: hidden;
}

    .brand-card::after {
        content: "";
        position: absolute;
        top: -40%;
        left: -80%;
        width: 55%;
        height: 180%;
        background: linear-gradient( 90deg, transparent, rgba(255, 241, 194, .22), transparent );
        transform: rotate(18deg);
        animation: headerShine 4.5s infinite ease-in-out;
        z-index: 2;
        pointer-events: none;
    }

@keyframes headerShine {
    0% {
        left: -80%;
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    42% {
        left: 130%;
        opacity: 0;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

.brand-header-img {
    filter: contrast(1.08) saturate(1.08);
}

.badge-line {
    box-shadow: 0 0 14px rgba(212,166,58,.12), inset 0 0 10px rgba(212,166,58,.08);
    animation: badgePulse 2.8s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(212,166,58,.10), inset 0 0 10px rgba(212,166,58,.06);
    }

    50% {
        box-shadow: 0 0 22px rgba(212,166,58,.22), inset 0 0 14px rgba(212,166,58,.12);
    }
}

.login-card {
    animation: loginRise .55s ease both;
    animation-delay: .10s;
}

@keyframes loginRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-btn {
    animation: buttonGlow 2.6s infinite ease-in-out;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 16px 34px rgba(212,166,58,.20), inset 0 1px 0 rgba(255,255,255,.34);
    }

    50% {
        box-shadow: 0 18px 42px rgba(212,166,58,.34), 0 0 22px rgba(212,166,58,.16), inset 0 1px 0 rgba(255,255,255,.40);
    }
}

.login-btn::before,
.ghost-btn::before,
.toggle-pass::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: .7s ease;
}

.login-btn:hover::before,
.ghost-btn:hover::before,
.toggle-pass:hover::before {
    left: 135%;
}

input:hover,
select:hover {
    border-color: rgba(242,208,122,.35);
}

input:focus,
select:focus {
    background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(212,166,58,.035));
}

/* detalhe tático no card de login */
.login-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 42px;
    opacity: .18;
    border-top: 2px solid #f2d07a;
    border-right: 2px solid #f2d07a;
    border-radius: 0 16px 0 0;
    pointer-events: none;
}
/* ===== CORREÇÃO FUNCIONÁRIO + ADMIN ===== */

.app-page,
.admin-page {
    width: calc(100% - 24px);
    margin: 18px auto 28px;
    padding: 18px 14px 24px;
    position: relative;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    border: 1px solid rgba(212,166,58,.20);
    box-shadow: 0 30px 80px rgba(0,0,0,.68), 0 0 24px rgba(212,166,58,.08), inset 0 1px 0 rgba(255,255,255,.04);
}

.app-page {
    max-width: 430px;
}

.admin-page {
    max-width: 960px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

    .top-bar h2 {
        margin: 0;
        color: var(--gold-5);
        font-size: 24px;
        text-shadow: 0 0 18px rgba(212,166,58,.12);
    }

    .top-bar p {
        margin: 5px 0 0;
        color: var(--soft);
        font-size: 13px;
    }

.small-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212,166,58,.28);
    background: rgba(212,166,58,.085);
    color: var(--gold-4);
    border-radius: 15px;
    padding: 11px 15px;
    cursor: pointer;
    font-weight: 900;
    transition: .18s ease;
}

    .small-btn:hover {
        background: rgba(212,166,58,.16);
        box-shadow: 0 0 16px rgba(212,166,58,.12);
    }

.status-card,
.camera-card,
.info-box,
.ponto-card,
.func-card,
.admin-form,
.posto-card,
.success-card {
    background: linear-gradient(180deg, var(--glass), var(--glass-2));
    border: 1px solid var(--border);
    box-shadow: 0 22px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter: blur(18px);
}

/* ===== FUNCIONÁRIO ===== */

.status-card {
    border-radius: 28px;
    padding: 22px;
    text-align: center;
    margin-bottom: 16px;
}

.status-icon {
    font-size: 46px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(212,166,58,.22));
}

.status-card h1 {
    margin: 0;
    color: var(--gold-5);
    font-size: 27px;
}

.status-card p {
    color: var(--soft);
    margin: 10px 0 0;
}

.camera-card {
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 16px;
    min-height: 260px;
    background: rgba(0,0,0,.42);
}

    .camera-card video {
        display: block;
        width: 100%;
        min-height: 260px;
        background: #000;
        transform: scaleX(-1);
        object-fit: cover;
    }

.main-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 19px;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    color: #1e1407;
    font-size: 17px;
    font-weight: 1000;
    letter-spacing: .3px;
    background: linear-gradient(135deg, #6f5319 0%, var(--gold-3) 34%, var(--gold-5) 50%, var(--gold-3) 66%, #6f5319 100%);
    box-shadow: 0 16px 34px rgba(212,166,58,.22), inset 0 1px 0 rgba(255,255,255,.34);
    transition: .18s ease;
}

    .main-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 42px rgba(212,166,58,.28), 0 0 18px rgba(212,166,58,.14);
    }

    .main-btn.danger {
        background: linear-gradient(135deg, #7c1f1f, #bd3a3a) !important;
        color: white !important;
        box-shadow: 0 14px 30px rgba(189,58,58,.24) !important;
    }

.info-box {
    border-radius: 22px;
    padding: 16px;
    color: rgba(255,255,255,.84);
    line-height: 1.5;
    margin-top: 14px;
    margin-bottom: 16px;
}

/* ===== TELA DE SUCESSO DO PONTO ===== */

.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    padding: 18px;
    background: radial-gradient(circle at top, rgba(212,166,58,.20), transparent 38%), rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .25s ease;
}

.success-card {
    width: 100%;
    max-width: 430px;
    border-radius: 32px;
    padding: 22px;
    text-align: center;
    animation: popIn .35s ease;
}

.success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, var(--gold-5), var(--gold-4), var(--gold-2));
    color: #1e1407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 1000;
    box-shadow: 0 0 0 7px rgba(212,166,58,.10), 0 0 35px rgba(212,166,58,.30);
}

.success-card h1 {
    margin: 0;
    color: var(--gold-5);
    font-size: 26px;
}

.success-card p {
    color: var(--soft);
    margin: 7px 0;
}

.success-photo {
    width: 140px;
    height: 165px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin: 14px auto;
    display: block;
    transform: scaleX(-1);
}

.success-data {
    margin: 14px 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(0,0,0,.32);
    border: 1px solid rgba(212,166,58,.18);
    text-align: left;
    font-size: 14px;
    line-height: 1.55;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(.93) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== ADMIN ===== */

.admin-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.tab-btn {
    position: relative;
    overflow: hidden;
    height: 50px;
    border-radius: 17px;
    border: 1px solid rgba(212,166,58,.24);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.72);
    font-weight: 1000;
    cursor: pointer;
    transition: .18s ease;
}

    .tab-btn.active {
        color: #1e1407;
        background: linear-gradient(135deg, #6f5319 0%, var(--gold-3) 35%, var(--gold-5) 58%, #6f5319 100%);
        box-shadow: 0 14px 28px rgba(212,166,58,.18), inset 0 1px 0 rgba(255,255,255,.32);
    }

.admin-form {
    border-radius: 26px;
    padding: 17px;
    margin-bottom: 16px;
}

    .admin-form h3 {
        margin: 0 0 14px;
        color: var(--gold-4);
    }

.func-card {
    border-radius: 26px;
    padding: 17px;
    margin-bottom: 14px;
}

    .func-card h3 {
        margin: 0 0 8px;
        color: var(--gold-4);
    }

    .func-card p {
        margin: 5px 0;
        color: rgba(255,255,255,.76);
        font-size: 14px;
    }

.mini-grid {
    margin-top: 14px;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.posto-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 10px;
}

    .posto-card span {
        color: var(--gold-4);
        font-weight: 900;
    }

.ponto-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    border-radius: 24px;
    padding: 14px;
    margin-bottom: 14px;
}

    .ponto-card img {
        width: 100px;
        height: 122px;
        object-fit: cover;
        border-radius: 20px;
        border: 1px solid rgba(212,166,58,.24);
    }

    .ponto-card h3 {
        margin: 0 0 8px;
        color: var(--gold-4);
    }

    .ponto-card p {
        margin: 4px 0;
        color: rgba(255,255,255,.76);
        font-size: 13px;
    }

    .ponto-card a {
        display: inline-block;
        margin-top: 8px;
        color: var(--gold-4);
        font-weight: 900;
        text-decoration: none;
    }

.sem-foto {
    width: 100px;
    height: 122px;
    border-radius: 20px;
    border: 1px solid rgba(212,166,58,.24);
    background: rgba(0,0,0,.36);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,.45);
    font-weight: 1000;
    font-size: 13px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.danger-small {
    border-color: rgba(255,80,80,.38) !important;
    color: #ffb1b1 !important;
    background: rgba(255,80,80,.10) !important;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 700px) {
    .app-page,
    .admin-page {
        width: 100%;
        max-width: 480px;
        min-height: 100vh;
        margin: 0 auto;
        padding: 22px 16px 34px;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .admin-tabs {
        grid-template-columns: 1fr;
    }

    .actions {
        grid-template-columns: 1fr;
    }

    .ponto-card {
        grid-template-columns: 92px 1fr;
    }

        .ponto-card img,
        .sem-foto {
            width: 92px;
            height: 114px;
        }
}
/* ===== FILTROS DO ADMIN ===== */

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.summary-card {
    background: linear-gradient(180deg, var(--glass), var(--glass-2));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    color: rgba(255,255,255,.84);
    line-height: 1.6;
    margin-bottom: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.045);
}

@media (max-width: 700px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}
.toast-msg {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(-25px) scale(0.94);
    z-index: 9999;
    width: calc(100% - 34px);
    max-width: 430px;
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .2px;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0,0,0,.55);
    transition: .28s ease;
}

    .toast-msg.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .toast-msg.erro {
        color: #fff;
        border: 1px solid rgba(255, 60, 60, .75);
        background: linear-gradient(135deg, rgba(90,0,0,.94), rgba(20,0,0,.96));
        box-shadow: 0 0 22px rgba(255, 40, 40, .25), 0 18px 45px rgba(0,0,0,.55);
    }

    .toast-msg.sucesso {
        color: #111;
        border: 1px solid rgba(242, 208, 122, .95);
        background: linear-gradient(135deg, #f2d07a, #b8862b);
        box-shadow: 0 0 25px rgba(242, 208, 122, .35), 0 18px 45px rgba(0,0,0,.55);
    }

.login-note {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(242,208,122,.18);
}

.hidden {
    display: none !important;
}
.jornada-status {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    font-weight: 900;
    text-align: center;
    line-height: 1.35;
}

.status-pendente {
    display: block;
    color: #fff;
    background: linear-gradient(135deg, rgba(130, 0, 0, .92), rgba(45, 0, 0, .95));
    border: 1px solid rgba(255, 80, 80, .8);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 0 22px rgba(255, 0, 0, .18);
}

.status-ok {
    display: block;
    color: #141414;
    background: linear-gradient(135deg, #f2d07a, #b8862b);
    border: 1px solid rgba(242, 208, 122, .9);
    border-radius: 16px;
    padding: 12px;
}

.saida-btn {
    background: linear-gradient(135deg, #7a1111, #e63b3b) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 90, 90, .8) !important;
}
.print-header {
    display: none;
}

.relatorio-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(242,208,122,.25);
}

    .relatorio-table th {
        background: linear-gradient(135deg, #f2d07a, #b8862b);
        color: #111;
        font-size: 12px;
        padding: 10px 8px;
        text-align: left;
        font-weight: 900;
    }

    .relatorio-table td {
        color: #fff;
        font-size: 12px;
        padding: 10px 8px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        vertical-align: top;
    }

    .relatorio-table a {
        color: #f2d07a;
        font-weight: 900;
        text-decoration: none;
    }

.linha-pendente td {
    background: rgba(130, 0, 0, .45);
    color: #fff;
}

.linha-completa td {
    background: rgba(16, 80, 40, .28);
}

.linha-teste td {
    background: rgba(130, 90, 0, .30);
}

@media print {
    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .tactical-bg,
    .top-bar,
    .admin-tabs,
    .no-print,
    .status-card,
    .admin-form,
    button {
        display: none !important;
    }

    .admin-page,
    .app-shell {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .print-area {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .print-header {
        display: block !important;
        text-align: center;
        margin-bottom: 8px;
        color: #000 !important;
    }

        .print-header h1 {
            font-size: 18px;
            margin: 0;
            font-weight: 900;
        }

        .print-header h2 {
            font-size: 14px;
            margin: 3px 0;
            font-weight: 800;
        }

        .print-header p {
            font-size: 10px;
            margin: 0 0 8px 0;
        }

    .summary-card {
        display: block !important;
        background: #f3f3f3 !important;
        color: #000 !important;
        border: 1px solid #999 !important;
        box-shadow: none !important;
        padding: 6px !important;
        margin-bottom: 8px !important;
        font-size: 10px !important;
    }

    .relatorio-table {
        width: 100% !important;
        border-collapse: collapse !important;
        border: 1px solid #000 !important;
        background: #fff !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
    }

        .relatorio-table th {
            background: #d9d9d9 !important;
            color: #000 !important;
            border: 1px solid #000 !important;
            padding: 4px !important;
            font-size: 8.5px !important;
            line-height: 1.1 !important;
        }

        .relatorio-table td {
            color: #000 !important;
            border: 1px solid #000 !important;
            padding: 4px !important;
            font-size: 8.5px !important;
            line-height: 1.1 !important;
        }

        .relatorio-table a {
            color: #000 !important;
            text-decoration: none !important;
            font-weight: 700 !important;
        }

    .linha-pendente td {
        background: #ffd6d6 !important;
        color: #000 !important;
    }

    .linha-completa td {
        background: #ddffdd !important;
        color: #000 !important;
    }

    .linha-teste td {
        background: #fff0c4 !important;
        color: #000 !important;
    }

    .hidden {
        display: none !important;
    }
}