﻿: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;
    }

.dep-check {
    width: 15px;
    height: 15px;
    accent-color: var(--brand);
    flex-shrink: 0;
}

.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;
}

.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);
    }
