* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #1f2937;
    overflow-x: hidden;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    height: 100vh;
    background: #0f172a;
    padding: 24px 18px;
    flex-shrink: 0;

    position: sticky;
    top: 0;
}

.sidebar h2 {
    color: #f97316;
    font-size: 22px;
    margin-bottom: 35px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar nav a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s;
}

.sidebar nav a:hover {
    background: #f97316;
    color: #fff;
}

.sidebar nav a.active {
    background: #f97316;
    color: #fff;
}

.menu-icon {
    display: inline-block;
    width: 24px;
    text-align: center;
}

.mobile-label {
    display: none;
}

.content {
    flex: 1;
    padding: 28px;
}

.topbar {
    background: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.topbar h1 {
    font-size: 26px;
    color: #111827;
}

.topbar span {
    font-size: 14px;
    color: #6b7280;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border-left: 5px solid #f97316;
}

.card h3 {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 14px;
}

.card strong {
    font-size: 30px;
    color: #f97316;
}

.truck-dashboard {
    margin-bottom: 24px;
}

.truck-dashboard__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.truck-dashboard__card strong {
    font-size: clamp(22px, 2vw, 30px);
}

.truck-dashboard__card span {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
}

.truck-dashboard__card--loaded {
    border-left-color: #2563eb;
}

.truck-dashboard__card--loaded strong {
    color: #2563eb;
}

.truck-dashboard__card--available {
    border-left-color: #16a34a;
}

.truck-dashboard__card--available strong,
.stock-available {
    color: #16a34a;
}

.fuel-stock-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.fuel-stock-item {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 12px;
    white-space: nowrap;
}

.fuel-stock-item strong {
    color: #1d4ed8;
}

.stock-empty {
    color: #94a3b8;
    font-size: 13px;
}

.dashboard-clients-button {
    margin-top: 16px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.dashboard-clients-button:hover {
    background: #334155;
}

.dashboard-expense-button {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.dashboard-profit-summary,
.expense-summary {
    margin-top: 18px;
    margin-bottom: 24px;
}

.dashboard-profit-summary {
    grid-template-columns: repeat(2, 1fr);
}

.expense-summary {
    grid-template-columns: repeat(3, 1fr);
}

.expense-card {
    border-left-color: #dc2626;
}

.expense-card strong,
.negative-profit strong {
    color: #dc2626;
}

.profit-card {
    border-left-color: #16a34a;
}

.profit-card strong {
    color: #16a34a;
}

.negative-profit {
    border-left-color: #dc2626;
}

.alert-success {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #dcfce7;
    color: #166534;
    font-weight: bold;
}

.expense-main-fields {
    margin-top: 18px;
}

.expense-values {
    grid-template-columns: repeat(3, 1fr);
}

.dashboard-clients-table {
    margin-top: 24px;
    overflow-x: auto;
}

.dashboard-clients-table table {
    min-width: 620px;
}

.dashboard-clients-table th,
.dashboard-clients-table td {
    font-size: 14px;
}


@media (max-width: 900px) {
    .layout {
        display: block;
        min-height: 100vh;
    }

    .sidebar {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        height: 72px;
        min-height: 0;
        padding: 0;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.1);
    }

    .sidebar h2 {
        display: none;
    }

    .sidebar nav {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        height: 100%;
        gap: 0;
    }

    .sidebar nav a {
        min-width: 0;
        padding: 8px 2px 6px;
        border-radius: 0;
        color: #64748b;
        font-size: 9px;
        font-weight: 600;
        text-align: center;
        white-space: nowrap;
    }

    .sidebar nav a:hover,
    .sidebar nav a.active {
        background: #fff7ed;
        color: #f97316;
    }

    .menu-icon {
        display: block;
        width: auto;
        height: 30px;
        font-size: 23px;
        line-height: 28px;
    }

    .desktop-label {
        display: none;
    }

    .mobile-label {
        display: inline;
    }

    .content {
        width: 100%;
        padding: 18px 12px 94px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}

.btn-primary,
.btn-secondary {
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: bold;
}

.btn-primary {
    background: #f97316;
    color: white;
    border: 0;
    cursor: pointer;
}

.btn-secondary {
    background: #111827;
    color: white;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-actions form {
    margin: 0;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 17px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #b91c1c;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}

.btn-delete::before {
    content: "×";
    font-size: 19px;
    line-height: 1;
}

.btn-delete:hover {
    border-color: #dc2626;
    background: #dc2626;
    color: #fff;
    box-shadow: 0 8px 18px rgba(185, 28, 28, .22);
    transform: translateY(-1px);
}

.delete-confirm[hidden] { display: none; }

.delete-confirm {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 18px;
}

.delete-confirm__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(3px);
}

.delete-confirm__box {
    position: relative;
    width: min(400px, 100%);
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .32);
    animation: modal-enter .18s ease-out;
}

.delete-confirm__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-size: 31px;
    font-weight: 700;
}

.delete-confirm h2 { margin-bottom: 8px; color: #111827; font-size: 22px; }
.delete-confirm p { color: #475569; line-height: 1.5; }
.delete-confirm small { display: block; margin-top: 5px; color: #991b1b; }

.delete-confirm__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 23px;
}

.delete-confirm__actions button {
    padding: 11px 16px;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
}

.delete-confirm__cancel {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}

.delete-confirm__submit {
    border: 0;
    background: #dc2626;
    color: #fff;
}

.delete-confirm__submit:hover { background: #b91c1c; }
.delete-confirm__submit:disabled { cursor: wait; opacity: .7; }

@media (max-width: 430px) {
    .delete-confirm__actions { flex-direction: column-reverse; }
    .delete-confirm__actions button { width: 100%; }
}

.btn-warning {
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: #d97706;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.sale-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 190px;
}

.sale-actions form {
    margin: 0;
}

.cancelled-sale {
    opacity: 0.65;
    background: #f8fafc;
}

.status-cancelled {
    color: #dc2626;
    font-weight: bold;
}

.page-section {
    margin-bottom: 24px;
}

.page-section h2,
.table-card h2 {
    margin-bottom: 18px;
}

.compact-form {
    max-width: 620px;
}

.price-form input[type="text"] {
    min-width: 120px;
}

.field-help {
    display: block;
    margin-top: -8px;
    margin-bottom: 16px;
    color: #64748b;
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.payment-summary > div {
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.payment-summary span,
.payment-summary strong {
    display: block;
}

.payment-summary span {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    cursor: pointer;
}

.payment-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method span {
    display: block;
    padding: 18px;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: bold;
}

.payment-method input:checked + span {
    border-color: #f97316;
    background: #fff7ed;
    color: #c2410c;
}

.payment-instruction {
    margin-bottom: 16px;
    color: #64748b;
}

.split-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.split-payment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.split-payment-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.split-payment-check input {
    width: 18px;
    margin: 0;
}

.split-payment-row input {
    margin-bottom: 0;
}

.split-payment-total {
    display: flex;
    justify-content: space-between;
    margin: 18px 0;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.split-payment-total strong {
    color: #15803d;
}

.split-payment-total strong.is-invalid,
.payment-error {
    color: #dc2626;
}

.payment-error {
    margin: -8px 0 16px;
    font-weight: bold;
}

.receipt-payments {
    margin-top: 24px;
}

.receipt-payments h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.receipt-payments > div {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.receipt {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.receipt-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid #f97316;
}

.receipt-header h1 {
    color: #f97316;
}

.receipt-number {
    margin: 24px 0;
    font-weight: bold;
}

.receipt-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.receipt-details div {
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.receipt-details dt {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 5px;
}

.receipt-details dd {
    font-weight: bold;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding: 20px;
    background: #fff7ed;
    border-radius: 12px;
}

.receipt-total strong {
    color: #f97316;
    font-size: 26px;
}

.receipt-footer {
    margin-top: 30px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 900px) {
    .dashboard-header-actions,
    .table-actions {
        flex-wrap: wrap;
    }

    .payment-summary,
    .payment-methods,
    .split-payment-methods,
    .receipt-details {
        grid-template-columns: 1fr;
    }

    .split-payment-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media print {
    body {
        background: #fff;
    }

    .sidebar,
    .no-print {
        display: none !important;
    }

    .content {
        padding: 0;
    }

    .receipt {
        max-width: none;
        padding: 20px;
        box-shadow: none;
    }
}

.table-card,
.form-card {
    background: white;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #111827;
    color: white;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #374151;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.programacao-fields-below {
    margin: 16px 0 18px;
}

.programacao-auto-trucks .remover-caminhao-venda {
    display: none;
}

.programacao-auto-trucks .sale-compartments {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    align-items: start;
}

.programacao-auto-trucks .sale-compartment-option {
    position: relative;
    min-width: 0;
}

.programacao-auto-trucks .sale-fuel-select {
    width: 100%;
    min-width: 0;
}

.programacao-submit-panel {
    display: flex;
    justify-content: flex-end;
    margin: 18px 0 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.programacao-resumo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(520px, 100%);
}

.programacao-resumo div {
    padding: 12px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
}

.programacao-resumo span {
    display: block;
    margin-bottom: 5px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
}

.programacao-resumo strong {
    color: #0f172a;
    font-size: 18px;
}

.btn-submit {
    background: #f97316;
    color: white;
    border: none;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-submit:hover {
    background: #ea580c;
}

.form-submit-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.saving-status {
    color: #15803d;
    font-size: 14px;
    font-weight: 800;
}

.saving-status::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: saving-status-pulse 1s ease-in-out infinite;
}

.programacao-confirmar {
    position: absolute;
    top: 9px;
    right: 9px;
    min-width: 48px;
    padding: 7px 11px;
    border: 0;
    border-radius: 7px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(22, 163, 74, .24);
}

.programacao-confirmar[hidden] {
    display: none;
}

.programacao-confirmar:hover {
    background: #15803d;
}

.programacao-confirmar.is-saving {
    width: auto;
    cursor: wait;
    background: #15803d;
}

@keyframes saving-status-pulse {
    50% {
        opacity: .35;
    }
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .table-card {
        overflow-x: auto;
    }
}

@media (max-width: 900px) {
    body {
        background: #fff7f5;
    }

    .topbar,
    .form-card,
    .table-card,
    .card {
        border-radius: 14px;
    }

    .topbar {
        padding: 16px;
        margin-bottom: 16px;
    }

    .topbar h1 {
        font-size: 24px;
    }

    .dashboard-filter {
        padding: 18px;
        margin-bottom: 18px;
    }

    .dashboard-filter .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dashboard-filter input {
        min-width: 0;
        font-size: 13px;
    }

    .dashboard-filter-actions {
        flex-wrap: wrap;
    }

    .card {
        padding: 20px;
    }

    .sidebar {
        height: calc(72px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

    .content {
        padding-bottom: calc(94px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 380px) {
    .sidebar nav a {
        font-size: 8px;
    }

    .menu-icon {
        font-size: 21px;
    }
}

.form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-inline input {
    margin-bottom: 0;
}

.dashboard-filter {
    margin-bottom: 24px;
}

.dashboard-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.report-summary {
    margin-bottom: 24px;
}

.report-table h2 {
    margin-bottom: 18px;
}

.report-table .btn-small {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

.btn-small {
    background: #f97316;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-small:hover {
    background: #ea580c;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: bold;
}
.login-body {
    min-height: 100vh;
    background: #fff;
    color: #172554;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(390px, 0.75fr);
    min-height: 100vh;
}

.login-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #063b80;
}

.login-visual > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: 52% center;
}

.login-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 48, 108, 0.04) 35%, rgba(0, 35, 85, 0.88) 100%),
        linear-gradient(90deg, transparent 65%, rgba(0, 25, 70, 0.25));
}

.login-brand-message {
    position: absolute;
    right: 8%;
    bottom: 7%;
    left: 8%;
    z-index: 1;
    max-width: 620px;
    color: #fff;
}

.login-brand-message > span {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-left: 4px solid #f58220;
    background: rgba(181, 18, 27, 0.88);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.login-brand-message h1 {
    max-width: 560px;
    margin-bottom: 10px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.02;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.32);
}

.login-brand-message p {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.login-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 130, 32, 0.12), transparent 32%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.login-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #b5121b 0 40%, #f58220 40% 65%, #0755a5 65%);
}

.login-card {
    width: min(100%, 430px);
    background: #fff;
    padding: 42px;
    border: 1px solid #e8edf4;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(7, 50, 105, 0.13);
}

.login-brand-mark {
    display: flex;
    width: 76px;
    height: 9px;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: 99px;
}

.login-brand-mark span:nth-child(1) {
    width: 40%;
    background: #b5121b;
}

.login-brand-mark span:nth-child(2) {
    width: 25%;
    background: #f58220;
}

.login-brand-mark span:nth-child(3) {
    width: 35%;
    background: #0755a5;
}

.login-heading {
    margin-bottom: 30px;
}

.login-eyebrow {
    color: #b5121b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.login-heading h2 {
    margin: 7px 0 9px;
    color: #073269;
    font-size: 31px;
    line-height: 1.15;
}

.login-heading p {
    color: #64748b;
    line-height: 1.5;
}

.login-field label {
    color: #1e3a5f;
}

.login-field input {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-field input:focus {
    outline: none;
    border-color: #0755a5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7, 85, 165, 0.12);
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 6px;
    background: linear-gradient(135deg, #b5121b, #df1f2d);
    color: #fff;
    border: none;
    padding: 15px 18px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(181, 18, 27, 0.22);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login span {
    font-size: 21px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #981019, #c71926);
    box-shadow: 0 13px 26px rgba(181, 18, 27, 0.3);
    transform: translateY(-1px);
}

.login-footer {
    margin-top: 28px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 820px) {
    .login-shell {
        display: block;
    }

    .login-visual {
        min-height: 34vh;
        height: 310px;
    }

    .login-visual > img {
        object-position: center 38%;
    }

    .login-brand-message {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .login-brand-message > span,
    .login-brand-message p {
        display: none;
    }

    .login-brand-message h1 {
        margin: 0;
        font-size: 30px;
    }

    .login-panel {
        min-height: 66vh;
        padding: 28px 16px 38px;
    }

    .login-card {
        margin-top: -58px;
        padding: 30px 24px;
        border-radius: 20px;
        position: relative;
        z-index: 2;
    }

    .login-brand-mark {
        margin-bottom: 23px;
    }

    .login-heading h2 {
        font-size: 27px;
    }
}

@media (max-width: 420px) {
    .login-visual {
        height: 260px;
    }

    .login-brand-message h1 {
        font-size: 25px;
    }

    .login-card {
        padding: 27px 20px;
    }
}

.compartimento-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.compartimento-row label {
    margin: 0;
}

@media (max-width: 700px) {
    .compartimento-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

.confirmation-modal[hidden] {
    display: none;
}

/* Confirmação de finalização da entrega */
.delivery-modal[hidden] { display: none; }

.delivery-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.delivery-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: radial-gradient(circle at 50% 35%, rgba(249, 115, 22, .14), transparent 35%), rgba(15, 23, 42, .72);
    backdrop-filter: blur(6px);
    animation: delivery-fade-in .22s ease-out;
}

.delivery-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    overflow: hidden;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .35);
    animation: delivery-modal-in .28s cubic-bezier(.2, .8, .2, 1);
}

.delivery-modal__dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #f97316, #fb923c 60%, #fdba74);
}

.delivery-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    font-size: 25px;
    cursor: pointer;
    transition: .18s;
}

.delivery-modal__close:hover {
    background: #fff7ed;
    color: #ea580c;
    transform: rotate(6deg);
}

.delivery-modal__icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffedd5, #fff7ed);
    color: #ea580c;
    box-shadow: 0 10px 25px rgba(249, 115, 22, .18);
}

.delivery-modal__icon span {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 3px solid currentColor;
    border-radius: 50%;
    font-size: 21px;
    font-weight: 900;
}

.delivery-modal__eyebrow {
    color: #ea580c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.delivery-modal h2 {
    margin: 6px 42px 9px 0;
    color: #0f172a;
    font-size: 27px;
    letter-spacing: -.5px;
}

.delivery-modal__dialog > p {
    color: #64748b;
    line-height: 1.55;
}

.delivery-modal__summary {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(130px, .7fr);
    gap: 1px;
    overflow: hidden;
    margin: 24px 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #e2e8f0;
}

.delivery-modal__summary > div {
    min-width: 0;
    padding: 15px 16px;
    background: #f8fafc;
}

.delivery-modal__summary span,
.delivery-modal__summary strong { display: block; }

.delivery-modal__summary span {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.delivery-modal__summary strong {
    overflow: hidden;
    color: #1e293b;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.delivery-modal__summary strong span {
    display: inline;
    color: inherit;
    font-size: inherit;
}

.delivery-modal__notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
}

.delivery-modal__notice > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: bold;
}

.delivery-modal__notice p { font-size: 13px; line-height: 1.45; }

.delivery-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
}

.delivery-modal__actions button {
    min-height: 44px;
    padding: 11px 17px;
    border-radius: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, background .18s;
}

.delivery-modal__cancel {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}

.delivery-modal__cancel:hover { background: #f8fafc; color: #0f172a; }

.delivery-modal__confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 10px 22px rgba(234, 88, 12, .25);
}

.delivery-modal__confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 27px rgba(234, 88, 12, .32);
}

.delivery-modal__confirm:disabled { cursor: wait; opacity: .75; }

.delivery-modal--danger .delivery-modal__dialog::before {
    background: linear-gradient(90deg, #991b1b, #dc2626 60%, #f87171);
}

.delivery-modal--danger .delivery-modal__icon {
    background: linear-gradient(145deg, #fee2e2, #fff1f2);
    color: #dc2626;
    box-shadow: 0 10px 25px rgba(220, 38, 38, .16);
}

.delivery-modal--danger .delivery-modal__eyebrow { color: #dc2626; }

.delivery-modal--danger .delivery-modal__notice {
    background: #fef2f2;
    color: #991b1b;
}

.delivery-modal--danger .delivery-modal__confirm {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 10px 22px rgba(185, 28, 28, .24);
}

.delivery-modal--danger .delivery-modal__confirm:hover {
    box-shadow: 0 13px 27px rgba(185, 28, 28, .32);
}

.delivery-modal--danger .delivery-modal__close:hover {
    background: #fef2f2;
    color: #dc2626;
}

.delivery-modal.is-closing .delivery-modal__dialog,
.delivery-modal.is-closing .delivery-modal__backdrop { animation: delivery-fade-out .15s ease-in forwards; }

@keyframes delivery-modal-in {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes delivery-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes delivery-fade-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }

@media (max-width: 560px) {
    .delivery-modal { align-items: end; padding: 10px; }
    .delivery-modal__dialog { padding: 30px 22px 22px; border-radius: 22px; }
    .delivery-modal__summary { grid-template-columns: 1fr; }
    .delivery-modal__actions { flex-direction: column-reverse; }
    .delivery-modal__actions button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .delivery-modal *, .delivery-modal__dialog, .delivery-modal__backdrop {
        animation: none !important;
        transition: none !important;
    }
}

.confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.confirmation-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(3px);
}

.confirmation-modal__dialog {
    position: relative;
    width: min(440px, 100%);
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
    animation: modal-enter 0.18s ease-out;
}

.confirmation-modal__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 30px;
    font-weight: 800;
}

.confirmation-modal__icon--info {
    background: #ffedd5;
    color: #ea580c;
    font-family: Georgia, serif;
    font-style: italic;
}

.confirmation-modal__icon--success {
    background: #dcfce7;
    color: #16a34a;
}

.confirmation-modal__dialog p {
    margin: 12px 0 24px;
    color: #475569;
    line-height: 1.55;
}

.confirmation-modal__dialog--danger {
    border-top: 5px solid #dc2626;
}

.confirmation-modal__dialog--danger h2 {
    color: #991b1b;
}

.confirmation-modal__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-danger {
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    background: #b91c1c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger:hover {
    background: #991b1b;
}

.btn-danger:disabled {
    cursor: wait;
    opacity: .7;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.programming-history[hidden] {
    display: none;
}

.programming-history {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: grid;
    place-items: center;
    padding: 24px;
}

.programming-history__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(4px);
}

.programming-history__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1180px, 100%);
    max-height: min(82vh, 760px);
    overflow: hidden;
    border-top: 5px solid #f97316;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .36);
    animation: modal-enter .18s ease-out;
}

.programming-history__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.programming-history__header span {
    color: #ea580c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.programming-history__header h2 {
    margin: 3px 0 0;
    color: #0f172a;
    font-size: 22px;
}

.programming-history__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 26px;
    cursor: pointer;
}

.programming-history__close:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.programming-history__body {
    min-height: 0;
    overflow: auto;
    padding: 18px 24px 24px;
}

.programming-history__table-wrap {
    min-width: 900px;
}

.programming-history__table {
    width: 100%;
    border-collapse: collapse;
}

.programming-history__table th {
    position: sticky;
    top: -18px;
    z-index: 1;
    padding: 12px 10px;
    background: #0f172a;
    color: #fff;
    text-align: left;
    font-size: 12px;
}

.programming-history__table td {
    padding: 13px 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    vertical-align: middle;
}

.programming-history__actions {
    display: flex;
    gap: 7px;
}

.programming-history__actions button {
    padding: 8px 10px;
    white-space: nowrap;
    font-size: 12px;
}

.programming-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.programming-status--programada {
    background: #ffedd5;
    color: #9a3412;
}

.programming-status--finalizada {
    background: #dcfce7;
    color: #166534;
}

.programming-status--cancelada {
    background: #fee2e2;
    color: #991b1b;
}

.programming-history__sale {
    color: #15803d;
    font-weight: 800;
}

.programming-history__empty {
    color: #94a3b8;
}

.programming-history__empty-state {
    display: grid;
    place-items: center;
    gap: 5px;
    min-height: 230px;
    color: #64748b;
    text-align: center;
}

.programming-history__empty-state strong {
    color: #0f172a;
    font-size: 18px;
}

.programming-action-confirmation {
    z-index: 1100;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .topbar__actions {
        width: 100%;
    }

    .topbar__actions .btn-primary,
    .topbar__actions .btn-secondary {
        flex: 1;
        text-align: center;
    }

    .programming-history {
        align-items: end;
        padding: 8px;
    }

    .programming-history__dialog {
        max-height: 92vh;
        border-radius: 12px 12px 0 0;
    }

    .programming-history__header,
    .programming-history__body {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.btn-danger:hover {
    background: #991b1b;
}

@keyframes modal-enter {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.sale-compartments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    margin: 16px 0 24px;
}

.sale-compartment-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.sale-compartment-option:hover {
    border-color: #ef4444;
    transform: translateY(-1px);
}

.sale-compartment-option:has(input:checked) {
    border-color: #b5121b;
    background: #fff1f2;
}

.sale-compartment-option > input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 68px;
    flex: 0 0 20px;
    accent-color: #b5121b;
}

.sale-compartment-option span,
.sale-compartment-option small {
    display: block;
}

.sale-compartment-option > span {
    min-width: 0;
    flex: 1;
}

.truck-thumbnail {
    display: block;
    width: 72px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.truck-photo-button {
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: zoom-in;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.truck-photo-placeholder {
    display: grid;
    place-items: center;
    width: 72px;
    height: 52px;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 28px;
}

.truck-form-photo {
    display: block;
    width: min(280px, 100%);
    max-height: 190px;
    margin: 0 0 10px;
    border-radius: 12px;
    object-fit: cover;
}

.photo-modal[hidden],
.sale-truck-photo[hidden] {
    display: none;
}

.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.photo-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
}

.photo-modal__dialog {
    position: relative;
    width: min(850px, 100%);
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.38);
}

.photo-modal__dialog h2 {
    margin: 0 42px 14px 0;
}

.photo-modal__dialog img {
    display: block;
    width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    object-fit: contain;
    background: #f1f5f9;
}

.photo-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 34px;
    cursor: pointer;
}

.sale-truck-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.sale-truck-photo img {
    width: 150px;
    height: 95px;
    border-radius: 10px;
    object-fit: cover;
}

.sale-truck-photo small {
    display: block;
    margin-top: 5px;
    color: #64748b;
}

.sale-truck-group {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.sale-truck-group > header,
.sale-truck-group__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sale-truck-group > header {
    justify-content: space-between;
    margin-bottom: 14px;
}

.sale-truck-group__identity img {
    width: 100px;
    height: 66px;
    border-radius: 9px;
    object-fit: cover;
}

@media (max-width: 600px) {
    .sale-truck-group > header {
        align-items: stretch;
        flex-direction: column;
    }
}

.sale-compartment-option small {
    margin-top: 4px;
    color: #64748b;
}

.sale-fuel-select {
    min-width: 210px;
    margin: 10px 0 0;
    background: #fff;
}

.programacao-compartimento-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.75fr);
    gap: 10px;
    margin-top: 10px;
}

.programacao-compartimento-fields label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #475569;
}

.programacao-compartimento-fields select,
.programacao-compartimento-fields input {
    min-width: 0;
    width: 100%;
    background: #fff;
}

.programacao-pendentes {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #93c5fd;
}

.programacao-pendentes > span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    text-transform: uppercase;
}

.programacao-pendente-item {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 12px 42px 12px 12px;
    margin-top: 6px;
    border-radius: 8px;
    border-left: 5px solid #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.14);
}

.programacao-pendente-item strong {
    font-size: 15px;
    letter-spacing: 0;
}

.programacao-pendente-item span {
    font-size: 12px;
    color: #1e3a8a;
    font-weight: 700;
}

.programacao-pendente-cancelar {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.programacao-pendente-cancelar:hover {
    background: #991b1b;
}

.programacao-pendente-finalizar {
    justify-self: start;
    margin-top: 8px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.22);
}

.programacao-pendente-editar {
    justify-self: start;
    margin-top: 8px;
    margin-right: 6px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.18);
}

.programacao-pendente-editar:hover {
    background: #ea580c;
}

.programacao-pendente-finalizar:hover {
    background: #15803d;
}

.programacao-pendente-finalizar.is-saving,
.programacao-pendente-editar.is-saving {
    cursor: wait;
    opacity: 0.75;
}

.programacao-edicao-campos {
    display: grid;
    gap: 12px;
    margin: 18px 0 22px;
    text-align: left;
}

.programacao-edicao-campos label {
    display: block;
    margin-bottom: 5px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
}

.programacao-edicao-campos select,
.programacao-edicao-campos input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
}

.client-sales-list {
    display: grid;
    gap: 16px;
}

.client-sales-search {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.client-sales-search label {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.client-sales-search input {
    width: min(520px, 100%);
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #0f172a;
}

.client-sales-search small {
    color: #64748b;
    font-weight: 700;
}

.client-sales-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.client-sales-card summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}

.client-sales-card summary::-webkit-details-marker {
    display: none;
}

.client-sales-card summary strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.client-sales-card summary span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.client-sales-payment-form {
    padding: 0 18px 18px;
}

.client-sales-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.client-sales-selected-total {
    margin-left: auto;
    color: #0f172a;
    font-weight: 800;
}

.client-sales-table {
    box-shadow: none;
    padding: 0;
}

.payment-selected-sales {
    margin: 18px 0;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.payment-selected-sales > strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
}

.payment-selected-sales ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.payment-selected-sales li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .programacao-compartimento-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .programacao-auto-trucks .sale-compartments {
        grid-template-columns: 1fr;
    }

    .programacao-submit-panel,
    .programacao-resumo {
        grid-template-columns: 1fr;
    }
}
