﻿:root {
    --brand: #1b463b;
    --brand-hover: #0f6e56;
    --brand-light: #eaf3de;
    --brand-mid: #27500a;
}

.reserva-banner {
    border: 1px solid #c3e6cd;
    border-left: 4px solid #1a7340;
    border-radius: 0 10px 10px 0;
    background: #fff;
}

.reserva-icone-check {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8f7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    color: #1a7340;
}

.timer-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 4px;
}

.timer-icone {
    font-size: 22px;
    color: #888;
    line-height: 1;
}

.timer-valor {
    font-size: 20px;
    font-weight: 700;
    color: #185FA5;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}

.timer-urgente {
    color: #c0392b !important;
}

.setor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.card-text {
    line-height: 20px;
}

.calendar-box {
    width: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    font-weight: bold;
}

.calendar-month {
    padding: 2px 0 0;
    font-size: 0.8rem;
    background-color: #AB915C;
    color: #fff;
}

.calendar-day {
    padding: 4px 0;
    font-size: 20px;
    font-weight: normal;
    background-color: #fff;
}

.table th {
    border-top: none;
}

.container-fluid table tr td {
    padding: .3rem;
}

.form-check-input {
    transform: scale(1.2);
    margin-top: 0;
}

.badge-count {
    font-size: 11px;
    font-weight: 500;
    background: var(--brand);
    color: #e1f5ee;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: .02em;
}

.btn-voltar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    color: #444;
    transition: border-color .15s, color .15s;
}

    .btn-voltar:hover {
        border-color: var(--brand);
        color: var(--brand);
    }

.btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--brand);
    color: #e1f5ee;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
}

    .btn-add:hover:not(:disabled) {
        background: var(--brand-hover);
    }

    .btn-add:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.tipo-card {
    border: 1px solid #ddd;
    border-left: 3px solid var(--brand);
    border-radius: 0 10px 10px 0;
    padding: 14px;
    background: #fff;
    height: 100%;
}

.tipo-titulo {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.dep-lista {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dep-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

    .dep-item:last-of-type {
        border-bottom: none;
    }

/* Variáveis usadas */
:root {
    --bs-primary: #1b463b;
    --bs-primary-hover: #25584c;
    --bs-body-font-family: Nunito, sans-serif;
    --bs-body-font-size: .9rem;
    --bs-body-color: #6c757d;
    --bs-body-bg: #fafbfe;
}

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

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
}

a {
    color: var(--bs-primary);
    text-decoration: none;
}

    a:hover {
        color: var(--bs-primary-hover);
    }

/* Layout grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

    .row > * {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

.col-12 {
    width: 100%;
}

.col-xl-5 {
    width: 41.666%;
}

.col-xl-7 {
    width: 58.333%;
}

.col-lg-5 {
    width: 41.666%;
}

.col-lg-7 {
    width: 58.333%;
}

@media(max-width:991px) {
    .col-xl-5,
    .col-xl-7,
    .col-lg-5,
    .col-lg-7 {
        width: 100%;
    }
}

/* Card */
.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .375rem;
}

.card-header {
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-body {
    padding: 1rem;
}

.card-footer {
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,.125);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .375rem .75rem;
    border-radius: .25rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #1b463b;
    color: #fff;
}

.btn-outline-secondary {
    border: 1px solid #6c757d;
    background: #fff;
    color: #6c757d;
}

.btn-outline-danger {
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Badge */
.badge {
    display: inline-block;
    padding: .35em .65em;
    border-radius: .25rem;
    font-size: .75em;
}

.bg-primary {
    background: #1b463b;
    color: #fff;
}

.bg-danger {
    background: #dc3545;
    color: #fff;
}

/* Alert */
.alert {
    padding: .75rem 1rem;
    border-radius: .25rem;
}

.alert-danger {
    background: #fedee5;
    color: #823040;
}

.alert-info {
    background: #e7f3ff;
    color: #185FA5;
}

/* Utilitários usados */
.d-flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-end {
    justify-content: flex-end;
}

.gap-1 {
    gap: .25rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.text-muted {
    color: #6c757d;
}

.fw-bold {
    font-weight: 700;
}

.mb-1 {
    margin-bottom: .25rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: .5rem;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: .25rem;
}

.p-3 {
    padding: 1rem;
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.alerta-aviso {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #faeeda;
    color: #633806;
    border: 1px solid #FAC775;
    display: flex;
    align-items: center;
}

.texto-muted {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 4px 0 0;
}


.justify-content-between {
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

    .badge:empty {
        display: none;
    }

.divisor {
    border: none;
    border-top: 1px solid #eee;
    margin: 12px 0;
}

.carrinho-resumo {
    background: #fff;
    border: 1px solid #b5d4f4;
    border-left: 3px solid #185FA5;
    border-radius: 0 8px 8px 0;
    padding: 10px 12px;
}

.carrinho-resumo-titulo {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #185FA5;
    margin-bottom: 6px;
}

.setor-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s;
}

    .setor-item:hover {
        border-color: var(--brand);
        background: #fff;
    }

    .setor-item.setor-esgotado {
        opacity: .55;
        cursor: not-allowed;
    }

    .setor-item.setor-com-compra {
        border-color: var(--brand);
        border-width: 1.5px;
        background: #fff;
    }

        .setor-item.setor-com-compra:hover {
            border-color: var(--brand-hover);
            background: #f8fbff;
        }

.setor-nome {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.setor-cor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.setor-carrinho-lista {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 3px solid #1b463b;
    border-radius: 0 7px 7px 0;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setor-carrinho-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #495057;
    gap: 6px;
}

.setor-carrinho-preco {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #1b463b;
}

.setor-valores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.setor-valores-titulo {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-right: 2px;
}

.setor-valor-item {
    font-size: 11px;
    background: #f4f4f4;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 2px 8px;
    color: #333;
}

.setor-hint {
    font-size: 11px;
    color: var(--brand);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-tabs-sm .nav-link {
    font-size: 12px;
}

svg circle:focus,
svg circle:focus-visible,
svg g:focus,
svg g:focus-visible,
svg:focus,
svg:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

svg {
    outline: none;
}

    svg * {
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
    }

.map-zoom-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 10;
}

.map-zoom-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: #444;
    line-height: 1;
    padding: 0;
    transition: background .15s;
}

    .map-zoom-btn:hover {
        background: #fff;
        border-color: var(--brand-light);
        color: var(--brand-light);
    }

.map-legend {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .93);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
    line-height: 1.7;
}

.toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.body-editor {
    display: flex;
    height: calc(100vh - 180px);
    background: #f0f0f0;
}

.mapa-area {
    flex: 1;
    position: relative;
    overflow: auto;
}

.painel-dir {
    width: 280px;
    background: #fff;
    border-left: 1px solid #ddd;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.pan-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.pan-empty {
    color: #999;
    font-style: italic;
    text-align: center;
    margin-top: 40px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .field label {
        font-size: 12px;
        color: #666;
        font-weight: bold;
    }

    .field input,
    .field select {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

.coord {
    font-size: 12px;
    color: #888;
}

.btn-trocar {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
    padding: 7px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
}

.status-bar {
    padding: 8px 20px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 30px;
    font-size: 13px;
}

.sep {
    width: 1px;
    height: 24px;
    background: #ddd;
}

.sep-h {
    border-top: 1px solid #eee;
    margin: 4px 0;
}

.ftp-image-picker {
    padding: 22px;
    height: 100%;
    overflow-y: auto;
    background: #f6f7fb;
}

.ftp-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 16px;
}

    .ftp-picker-header h5 {
        margin: 0;
        font-weight: 800;
    }

.ftp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.ftp-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    text-align: left;
    cursor: pointer;
    transition: .15s;
}

    .ftp-card:hover {
        border-color: #185FA5;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
        transform: translateY(-1px);
    }

    .ftp-card img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        border-radius: 10px;
        background: #eef1f5;
    }

    .ftp-card b {
        display: block;
        font-size: 12px;
        margin-top: 8px;
    }

    .ftp-card small {
        color: #64748b;
    }

.mapa-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .mapa-stats > div {
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        padding: 10px 16px;
        min-width: 90px;
        text-align: center;
    }

    .mapa-stats b {
        display: block;
        font-size: 20px;
    }

    .mapa-stats span {
        display: block;
        font-size: 11px;
        color: #6c757d;
    }

    .mapa-stats .ok b {
        color: #058557;
    }

    .mapa-stats .warn b {
        color: #b7791f;
    }

    .mapa-stats .bad b {
        color: #dc2626;
    }

.mapa-svg-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #eef1f5;
}

.mapa-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.legenda-cor {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.campo-padrao {
    height: 34px;
    font-size: 13px;
}



.mapa-svg-wrapper-det {
    overflow: hidden;
    border-radius: 12px;
    background: #eef1f5;
    position: relative;
}

.map-session-legend-det {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
    backdrop-filter: blur(6px);
    z-index: 5;
}

.map-session-item-det {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #344054;
    white-space: nowrap;
}

    .map-session-item-det i {
        width: 10px;
        height: 10px;
        display: inline-block;
        border-radius: 50%;
        box-shadow: 0 0 0 2px rgba(255,255,255,.9);
    }

.revisao-card {
    border-left: 4px solid #00513f;
    background: #fff;
    padding: 12px;
}

.revisao-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.badge-ingressos {
    background: #00513f;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
}

.ingresso-review {
    position: relative;
    padding: 12px 42px 12px 0;
    border-bottom: 1px solid #eee;
}

.linha-topo,
.grid-info,
.total-review,
.acoes-review {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.campo,
.grid-info {
    margin-top: 8px;
}

    .campo small,
    .grid-info small {
        display: block;
        color: #6c757d;
        font-size: 11px;
        text-transform: uppercase;
    }

.valor {
    color: #0056a4;
}

.btn-remover {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #ff7b7b;
    background: #fff;
    color: #ff4d4d;
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.total-review {
    padding: 14px 0;
    font-size: 16px;
}

.acoes-review {
    margin-top: 12px;
}

    .acoes-review .btn {
        flex: 1;
        min-height: 48px;
    }

@media (max-width: 480px) {
    .revisao-card {
        padding: 10px;
    }

    .revisao-header {
        font-size: 13px;
    }

    .linha-topo,
    .grid-info {
        flex-direction: column;
        gap: 6px;
    }

    .acoes-review {
        flex-direction: column;
    }

        .acoes-review .btn {
            width: 100%;
        }
}