/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #172033;
    min-height: 100vh;
}


/* ========================================
   MENU LATERAL
======================================== */

.sidebar-toggle {
    position: fixed;
    top: 8px;
    left: 200px;
    right: auto;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #2f80c0;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    z-index: 150;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: #102a43;
    display: flex;
    flex-direction: column;
    padding: 28px 18px 20px;
    z-index: 100;
}

.sidebar-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 12px 35px;
}

.sidebar-logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 13px 15px;
    border-radius: 10px;
    color: #dbe8f5;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s ease;
}

.menu-item:hover {
    background: #1d405f;
    color: #ffffff;
}

.menu-item.active {
    background: #2f80c0;
    color: #ffffff;
}

.menu-icon {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-bottom {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item.logout:hover {
    background: #803b45;
}


/* ========================================
   CONTEÚDO PRINCIPAL
======================================== */

.main-content {
    margin-left: 240px;
    min-height: 100vh;
    padding: 45px 55px;
}

.top-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 20px;
    line-height: 1.2;
}

.top-date span {
    font-size: 12px;
    color: #718096;
    margin-bottom: 2px;
}

.top-date strong {
    font-size: 15px;
    color: #102a43;
}

.sidebar.closed {
    width: 0;
    padding: 0;
    overflow: visible;
}

.sidebar.closed .sidebar-logo,
.sidebar.closed .menu,
.sidebar.closed .sidebar-bottom {
    display: none;
}

.sidebar.closed .sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
}

.sidebar:not(.closed) .sidebar-toggle {
    color: #ffffff;
}

.main-content.sidebar-closed {
    margin-left: 0;
    padding-left: 130px;
}

.page-header {
    margin-bottom: 38px;
}

.page-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 8px;
}

.page-header p {
    color: #718096;
    font-size: 15px;
}


/* ========================================
   HOME — CAMPING PARAÍSO
======================================== */

.main-content {
    padding-bottom: 45px;
}

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

.occupancy-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

.occupancy-card {
    min-height: 108px;
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 18px 22px;
    box-shadow: 0 3px 12px rgba(39, 59, 78, 0.06);
}

.occupancy-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.occupancy-icon svg {
    width: 30px;
    height: 30px;
}

.barracas-card .occupancy-icon {
    background: #eaf3fa;
    color: #1455c0;
}

.motorhomes-card .occupancy-icon {
    background: #f0eafa;
    color: #6231c7;
}

.occupancy-info {
    flex: 1;
}

.occupancy-title {
    font-size: 16px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 7px;
}

.occupancy-subtitle {
    font-size: 13px;
    color: #718096;
}

.occupancy-number {
    text-align: right;
}

.occupancy-number strong {
    display: block;
    font-size: 25px;
    margin-bottom: 4px;
}

.occupancy-number span {
    font-size: 12px;
    color: #718096;
}

.barracas-card .occupancy-number strong {
    color: #1455c0;
}

.motorhomes-card .occupancy-number strong {
    color: #6231c7;
}


/* ========================================
   CONTROLES DO CALENDÁRIO
======================================== */

.calendar-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

/* ========================================
   NAVEGAÇÃO DO CALENDÁRIO
======================================== */

.calendar-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* BOTÃO HOJE */

.today-btn {
    height: 42px;
    min-width: 78px;
    padding: 0 18px;

    border: 1px solid #1455c0;
    border-radius: 8px;

    background: #ffffff;
    color: #1455c0;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

/* HOVER DO HOJE — */

.today-btn:hover {
    background: #eaf4fb;
    border-color: #b9d9ee;
    color: #1455c0;
}

/* SETAS */

.period-arrow {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #1455c0;
    border-radius: 8px;

    background: #1455c0;
    color: #ffffff;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.period-arrow svg {
    width: 18px;
    height: 18px;
}

/* HOVER DAS SETAS — SÓ MUDA A COR */

.period-arrow:hover {
    background: #eaf4fb;
    border-color: #b9d9ee;
    color: #1455c0;
}

/* SELETOR DO PERÍODO */

.date-picker {
    min-width: 205px;
    height: 42px;

    padding: 0 14px;

    display: flex;
    align-items: center;
    gap: 10px;

    position: relative;

    border: 1px solid #d5e1eb;
    border-radius: 8px;

    background: #ffffff;
    color: #1455c0;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.date-picker > svg:first-child {
    width: 17px;
    color: #1455c0;
}

.date-picker > svg:last-child {
    width: 16px;
    margin-left: auto;
    color: #1455c0;
}

/* HOVER DO SELETOR — AZUL BEM CLARINHO */

.date-picker:hover {
    background: #eaf4fb;
    border-color: #b9d9ee;
    color: #1455c0;
}

.date-picker:hover > svg {
    color: #1455c0;
}

.date-picker input {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}

/* FATURAMENTO DO MÊS */
.faturamento-home {
    min-width: 220px;
    height: 42px;
    padding: 0 12px 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border: 1px solid #d5e1eb;
    border-radius: 8px;

    background: #ffffff;
    color: #26394c;
}

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

.faturamento-info span {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    white-space: nowrap;
}

.faturamento-info strong {
    font-size: 14px;
    color: #172033;
    white-space: nowrap;
}

.btn-faturamento {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 6px;

    background: transparent;
    color: #1455c0;

    cursor: pointer;
}

.btn-faturamento:hover {
    background: #eaf4fb;
}

.btn-faturamento svg {
    width: 17px;
    height: 17px;
}

/* ========================================
   TABELA DO CALENDÁRIO
======================================== */

.calendar-table-card {
    background: #ffffff;
    border: 1px solid #d9e3ec;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 5px 16px rgba(39, 59, 78, 0.08);
}

.calendar-table-header,
.calendar-day-row {
    display: grid;
    grid-template-columns: 112px 1fr 1fr;
}

.calendar-table-header {
    min-height: 70px;
    border-bottom: none;
    background: #ffffff;
}

.date-column-title,
.camping-column-title {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #26394c;
    font-size: 12px;
    font-weight: 700;
}

.date-column-title {
    justify-content: center;
}

.camping-column-title {
    justify-content: center;
    gap: 10px;
    border-left: none;
}

.camping-column-title svg {
    width: 24px;
    height: 24px;
}

.camping-column-title:nth-child(2) svg {
    color: #1455c0;
}

.camping-column-title:nth-child(3) svg {
    color: #6231c7;
}

.camping-column-title div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.camping-column-title strong {
    font-size: 13px;
}

.camping-column-title span {
    font-size: 11px;
    color: #718096;
    font-weight: 400;
}

.calendar-day-row {
    min-height: 72px;
    border-bottom: none;
}

.calendar-day-row:last-child {
    border-bottom: none;
}

.calendar-day-row.today {
    background: #f7faff;
}

.calendar-day-row.selected {
    background: #fbfcfe;
}

.day-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.day-date strong {
    font-size: 14px;
    color: #172033;
    margin-bottom: 4px;
}

.day-date span {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
}

.calendar-day-row.today .day-date strong {
    color: #1455c0;
}

.occupancy-cell {
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 22px;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.occupancy-cell:hover {
    background: #dfeefa;
    box-shadow: inset 2px 0 0 #2f80c0;
}

.occupancy-cell:focus,
.occupancy-cell:active {
    border: none;
    outline: none;
}
.occupancy-cell.barracas .cell-number {
    color: #1455c0;
}

.occupancy-cell.motorhomes .cell-number {
    color: #6231c7;
}

.cell-info {
    flex: 1;
    min-width: 0;
}

.cell-number {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 9px;
}

.cell-bar {
    width: 100%;
    max-width: 240px;
    height: 6px;
    background: #e5e9ee;
    border-radius: 99px;
    overflow: hidden;
}

.cell-bar-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.3s ease;
}

.barracas .cell-bar-fill {
    background: #1455c0;
}

.motorhomes .cell-bar-fill {
    background: #6231c7;
}

.cell-arrow {
    width: 20px;
    color: #5c6d7e;
    display: flex;
    justify-content: center;
}

.cell-arrow svg {
    width: 17px;
}

.calendar-help {
    margin-top: 9px;
    min-height: 45px;
    border: 1px solid #d8e3ef;
    border-radius: 9px;
    background: #f4f8fc;
    color: #526577;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    font-size: 12px;
}

.calendar-help svg {
    width: 18px;
    color: #2f80c0;
    flex-shrink: 0;
}


/* ========================================
   DRAWER — RESERVAS DO DIA
======================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 30, 48, 0.45);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.day-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 430px;
    max-width: 92vw;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: 0.3s ease;
    box-shadow: -8px 0 30px rgba(15, 35, 55, 0.12);
}

.modal-overlay.open .day-drawer {
    transform: translateX(0);
}

.drawer-header {
    padding: 28px 28px 22px;
    border-bottom: 1px solid #e7edf2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.drawer-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #2f80c0;
    margin-bottom: 7px;
}

.drawer-header h2 {
    font-size: 19px;
    color: #172033;
    line-height: 1.25;
}

.btn-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #f1f4f7;
    color: #5c6d7e;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s ease;
}

.btn-close:hover {
    background: #e5ebf0;
}

.drawer-day-info {
    margin: 18px 28px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f6f8fa;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #526577;
    font-size: 13px;
}

.drawer-day-info svg {
    width: 17px;
    color: #2f80c0;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 18px 28px 28px;
}

.day-reservation-list {
    display: flex;
    flex-direction: column;
}

.drawer-loading {
    padding: 35px 15px;
    text-align: center;
    color: #8a98a8;
    font-size: 13px;
}

.day-reservation-card {
    position: relative;
    border-bottom: 1px solid #e6ebef;
    padding: 16px 0;
}

.day-reservation-card:last-child {
    border-bottom: none;
}

.day-reservation-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.guest-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef3f8;
    color: #42576b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.guest-main {
    flex: 1;
    min-width: 0;
}

.guest-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #26394c;
    margin-bottom: 4px;
}

.guest-period {
    font-size: 11px;
    color: #718096;
}

.payment-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    white-space: nowrap;
}

.payment-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.payment-status.pago .payment-dot {
    background: #16a34a;
}

.payment-status.parcial .payment-dot {
    background: #f3b12d;
}

.payment-status.pendente .payment-dot {
    background: #dc2626;
}

.payment-status.pago {
    color: #15803d;
}

.payment-status.parcial {
    color: #9a6b00;
}

.payment-status.pendente {
    color: #b91c1c;
}

.day-reservation-details {
    margin: 11px 0 0 47px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    font-size: 11px;
    color: #718096;
}

.day-status {
    font-weight: 700;
}

.day-status.reservado {
    color: #2f80c0;
}

.day-status.check-in {
    color: #7b4bb7;
}

.day-status.check-out {
    color: #6f7b87;
}

.day-reservation-actions {
    margin: 12px 0 0 47px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.day-action-btn {
    height: 31px;
    padding: 0 11px;
    border-radius: 8px;
    background: #ffffff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.day-action-checkin {
    border: 1px solid #b9a7d5;
    color: #7b4bb7;
}

.day-action-checkin:hover {
    background: #7b4bb7;
    color: #ffffff;
}

.day-action-checkout {
    border: 1px solid #bfc6cc;
    color: #6f7b87;
}

.day-action-checkout:hover {
    background: #6f7b87;
    color: #ffffff;
}

.day-action-edit {
    border: 1px solid #4A90C2;
    color: #4A90C2;
}

.day-action-edit:hover {
    background: #4A90C2;
    color: #ffffff;
}

.day-action-voucher {
    border: 1px solid #b9d9ee;
    color: #2f80c0;
    background: #edf7fc;
}

.day-action-voucher:hover {
    background: #2f80c0;
    border-color: #2f80c0;
    color: #ffffff;
}

.day-action-delete {
    border: 1px solid #edcdd0;
    color: #b6535d;
    background: #fdf0f1;
}

.day-action-delete:hover {
    background: #b6535d;
    color: #ffffff;
}

.day-empty {
    padding: 40px 15px;
    text-align: center;
    color: #8a98a8;
    font-size: 13px;
}


/* ========================================
   CONFIRMAÇÃO DE EXCLUSÃO
======================================== */

.modal-confirmacao-exclusao {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 45, 0.58);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.modal-confirmacao-exclusao.open {
    opacity: 1;
    visibility: visible;
}

.confirmacao-exclusao-box {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 36px 30px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    transform: translateY(15px) scale(0.98);
    transition: transform 0.2s ease;
}

.modal-confirmacao-exclusao.open .confirmacao-exclusao-box {
    transform: translateY(0) scale(1);
}

.confirmacao-exclusao-icone {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #feecec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmacao-exclusao-icone svg {
    width: 34px;
    height: 34px;
    stroke: #dc2626;
}

.confirmacao-exclusao-box h2 {
    margin: 0 0 12px;
    font-size: 27px;
    color: #243447;
}

.confirmacao-exclusao-box p {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.5;
    color: #52657a;
}

.confirmacao-exclusao-box span {
    display: block;
    margin-bottom: 28px;
    font-size: 15px;
    color: #7a8897;
}

.confirmacao-exclusao-acoes {
    display: flex;
    gap: 14px;
}

.confirmacao-exclusao-acoes button {
    flex: 1;
    height: 54px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.confirmacao-btn-cancelar {
    border: 1px solid #d7e0e8;
    background: #ffffff;
    color: #526577;
}

.confirmacao-btn-excluir {
    border: 1px solid #dc2626;
    background: #dc2626;
    color: #ffffff;
}

.confirmacao-btn-excluir {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.confirmacao-btn-excluir svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* ========================================
   NOTIFICAÇÕES
======================================== */

.toast {
    position: fixed;
    top: 28px;
    left: 50%;
    min-width: 320px;
    max-width: 450px;
    padding: 15px 22px;
    border-radius: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    z-index: 11000;
    opacity: 0;
    transform: translate(-50%, -15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 4px 0 rgba(0,0,0,.12), 0 10px 25px rgba(15,35,55,.20);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast.success {
    background: #16a34a;
    border-color: #128238;
    box-shadow: 0 4px 0 #0e7130, 0 10px 25px rgba(22,163,74,.25);
}

.toast.error {
    background: #dc2626;
    border-color: #b91c1c;
    box-shadow: 0 4px 0 #991b1b, 0 10px 25px rgba(220,38,38,.25);
}

.calendar-loading {
    padding: 45px;
    text-align: center;
    color: #8a98a8;
    font-size: 13px;
}


/* ========================================
   DETALHE DO TÍTULO
======================================== */

.page-header h1 {
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 5px;
    border-radius: 99px;
    background: #2f80c0;
    animation: tituloLinha 0.7s ease-out both;
}

@keyframes tituloLinha {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 52px;
        opacity: 1;
    }
}

/* =========================================================
   RESPONSIVIDADE — CHECAMPING
   ========================================================= */

/* BASE — DESKTOP */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg {
    max-width: 100%;
}

.app {
    width: 100%;
    min-width: 0;
}

/* MANTÉM O MENU E O CONTEÚDO ALINHADOS NO DESKTOP */
.main-content {
    width: auto;
    min-width: 0;
    margin-left: 240px;
}

.main-content.sidebar-closed {
    margin-left: 0;
    padding-left: 130px;
}

/* RESUMO */
.occupancy-summary {
    width: 100%;
    min-width: 0;
}

.occupancy-card {
    min-width: 0;
}

/* CONTROLES */
.calendar-controls {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
}

.calendar-navigation {
    min-width: 0;
}

/* FATURAMENTO */
.faturamento-home {
    min-width: 0;
    max-width: 100%;
}

.faturamento-info {
    min-width: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .main-content {
        margin-left: 240px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .main-content.sidebar-closed {
        margin-left: 0;
        padding-left: 100px;
        padding-right: 25px;
    }

    .occupancy-card {
        padding-left: 16px;
        padding-right: 16px;
    }

}

/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 700px) {

    /* MENU NÃO EMPURRA O CONTEÚDO */
    .main-content,
    .main-content.sidebar-closed {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* CARDS UM ABAIXO DO OUTRO */
    .occupancy-summary {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .occupancy-card {
        width: 100%;
        min-width: 0;
    }

    /* TÍTULO */
    .page-header {
        width: 100%;
    }

    .page-header h1 {
        font-size: 27px;
    }

    .page-header p {
        font-size: 14px;
    }

    /* CONTROLES */
    .calendar-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .calendar-navigation {
        width: 100%;
        display: grid;
        grid-template-columns: auto 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .today-btn {
        width: 100%;
        min-width: 0;
    }

    .date-picker {
        width: 100%;
        min-width: 0;
    }

    .period-arrow {
        width: 42px;
        min-width: 42px;
    }

    /* FATURAMENTO */
    .faturamento-home {
        width: 100%;
        min-width: 0;
    }

    /* TABELA COM ROLAGEM APENAS NELA */
    .calendar-table-card {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    .calendar-table-header,
    .calendar-day-row {
        min-width: 560px;
    }

    /* DRAWER */
    .day-drawer {
        width: 100%;
        max-width: 100%;
    }

}

/* =========================================================
   CELULAR PEQUENO
   ========================================================= */

@media (max-width: 480px) {

    .main-content,
    .main-content.sidebar-closed {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header p {
        font-size: 13px;
    }

    .occupancy-card {
        padding: 14px;
    }

    .occupancy-icon {
        width: 48px;
        height: 48px;
        margin-right: 11px;
    }

    .occupancy-icon svg {
        width: 26px;
        height: 26px;
    }

    .occupancy-title {
        font-size: 15px;
    }

    .occupancy-subtitle {
        font-size: 12px;
    }

    .occupancy-number strong {
        font-size: 20px;
    }

    .faturamento-home {
        height: 42px;
        padding-left: 13px;
        padding-right: 8px;
    }

}