    /* ==========================================
   SPSB Demo - Cinematic Design System (Sony Inspired)
   ========================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050505;
    color: #f3f4f6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    padding: 32px 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Logotipo em alta escala e destaque máximo */
.logo-img {
    height: 96px;
    width: auto;
    display: block;
    object-fit: contain;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Botões superiores e de ação com fonte ampliada para melhor legibilidade */
.btn {
    padding: 12px 20px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background-color: #e2e8f0;
    border-color: #e2e8f0;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-title h2 {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.badge-count {
    font-size: 11px;
    color: #64748b;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Cartões com alto contraste, conteúdo mais acima e texto em branco tamanho médio */
.card {
    background: linear-gradient(145deg, #1f1f23 0%, #121215 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 24px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.dashboard-card { 
    background: linear-gradient(145deg, #1f1f23 0%, #121215 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 24px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
}

.dashboard-card:hover { 
    border-color: rgba(255, 255, 255, 0.5); 
    transform: translateY(-3px); 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 24px;
    margin-bottom: 12px;
    display: inline-block;
}

.category-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
    font-weight: 600;
}

.status-badge {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.status-available {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.status-rented {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.status-maintenance {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.card h3, .dashboard-card h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.card p, .dashboard-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 400;
}

.serial {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 28px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.08em;
}

.alert-box {
    background: #161619;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 48px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Tabelas com fontes maiores e maior legibilidade */
.table-container {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow-x: auto;
    background: #141417;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 18px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
    background-color: #1a1a1e;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Cronograma com fontes maiores e alto contraste para finais de semana e feriados */
.timeline-header-cell {
    font-size: 13px !important;
}

.timeline-row-label {
    font-size: 13px !important;
}

.timeline-row-label span {
    font-size: 11px !important;
}

.reservation-bar {
    font-size: 11px !important;
    font-weight: 600;
}

.timeline-weekend, .timeline-holiday, th.weekend, td.weekend, th.holiday, td.holiday {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-left: 1px dashed rgba(255, 255, 255, 0.15);
    border-right: 1px dashed rgba(255, 255, 255, 0.15);
}

.timeline-header-cell.weekend, .timeline-header-cell.holiday {
    color: #facc15 !important;
    font-weight: 700;
}

/* Formulários com alto contraste marcante */
.form-card {
    background: linear-gradient(145deg, #1f1f23 0%, #121215 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 40px 32px;
    width: 100%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
}

label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    background: #0a0a0d;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.2s ease;
    min-height: 48px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    body {
        padding: 16px 12px;
    }
    header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    header > div:first-child {
        display: flex;
        justify-content: center;
    }
    .nav-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 8px;
        font-size: 11px;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-card {
        padding: 24px 16px;
    }
    .filter-form {
        grid-template-columns: 1fr !important;
        padding: 16px !important;
    }
}