/* =============================================
   EMBARQUE TRAVEL - Inventario Moderno
   Suporta: Gantt legado (fallback) + New Table v46
   Versao: 2026.7.27-v46
   ============================================= */

/* ==============================================
   NOVO INVENTARIO v32 — Tabela Moderna
   ============================================== */

.embarque-inv-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Toolbar ── */
.embarque-inv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.embarque-inv-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.embarque-inv-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.embarque-inv-month-label {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: capitalize;
    min-width: 180px;
    text-align: center;
}

/* ── Botoes de Navegacao (v33) ── */
.embarque-inv-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #475569;
    border-radius: 6px;
    background: #334155;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1.1;
    white-space: nowrap;
}

.embarque-inv-nav-btn:hover:not(:disabled) {
    background: #475569;
    border-color: #64748b;
}

.embarque-inv-nav-btn:active:not(:disabled) {
    background: #1e293b;
    transform: scale(0.95);
}

.embarque-inv-nav-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.embarque-inv-nav-prev,
.embarque-inv-nav-next {
    font-size: 0.82rem;
    min-width: 112px;
}

.embarque-inv-nav-today {
    font-size: 0.75rem;
    padding: 6px 10px;
    background: #1e3a5f;
    border-color: #3b82f6;
    color: #93c5fd;
}

.embarque-inv-nav-today:hover {
    background: #1e40af;
    border-color: #60a5fa;
    color: #fff;
}

.embarque-inv-help-btn {
    background: #312e81;
    border-color: #6366f1;
    color: #c7d2fe;
}

.embarque-inv-help-btn:hover:not(:disabled) {
    background: #4338ca;
    border-color: #818cf8;
    color: #fff;
}

.embarque-inv-inline-error {
    padding: 10px 16px;
    background: #7f1d1d;
    color: #fee2e2;
    border-bottom: 1px solid #991b1b;
    font-size: 0.86rem;
    font-weight: 600;
}

.embarque-inv-spinner {
    font-size: 1.1rem;
    color: #94a3b8;
    animation: embarque-spin 1s linear infinite;
}

@keyframes embarque-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.embarque-inv-header-info {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ── Botao Salvar ── */
.embarque-inv-save-btn {
    padding: 6px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.embarque-inv-save-btn:disabled {
    background: #374151;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
}

.embarque-inv-save-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* ── Tabela ── */
.embarque-inv-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 65vh;
    scrollbar-width: thin;
    scrollbar-color: #475569 #1e293b;
}

.embarque-inv-table-wrap::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.embarque-inv-table-wrap::-webkit-scrollbar-track {
    background: #1e293b;
}

.embarque-inv-table-wrap::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

.embarque-inv-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.embarque-inv-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px;
    font-size: 0.85rem;
}

/* ── Cabecalho ── */
.embarque-inv-th-room {
    position: sticky;
    left: 0;
    z-index: 10;
    background: #0f172a;
    color: #e2e8f0;
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 2px solid #334155;
    min-width: 160px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embarque-inv-th-date {
    background: #0f172a;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    padding: 8px 6px;
    border-bottom: 2px solid #334155;
    font-size: 0.78rem;
    min-width: 60px;
    max-width: 80px;
    white-space: nowrap;
}

.embarque-inv-th-date.weekend {
    color: #f87171;
    background: #1a1a2e;
}

/* ── Linhas ── */
.embarque-inv-row {
    transition: background 0.1s ease;
}

.embarque-inv-row:hover {
    background: #1e293b;
}

.embarque-inv-row.alt {
    background: #1a1a2e;
}

.embarque-inv-row.alt:hover {
    background: #1e293b;
}

/* ── Celula de nome do quarto ── */
.embarque-inv-td-room {
    position: sticky;
    left: 0;
    z-index: 5;
    background: inherit;
    color: #f1f5f9;
    font-weight: 600;
    padding: 12px 14px;
    border-bottom: 1px solid #334155;
    min-width: 160px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embarque-inv-row:hover .embarque-inv-td-room {
    background: #1e293b;
}

/* ── Celulas de data ── */
.embarque-inv-cell {
    text-align: center;
    padding: 6px 4px;
    border-bottom: 1px solid #334155;
    border-right: 1px solid #1e293b;
    cursor: pointer;
    transition: all 0.1s ease;
    user-select: none;
    min-width: 60px;
    max-width: 80px;
}

.embarque-inv-cell:hover {
    opacity: 0.85;
    transform: scale(1.02);
    z-index: 1;
    position: relative;
}

.embarque-inv-cell:active {
    transform: scale(0.97);
}

.embarque-inv-cell.selected {
    outline: 3px solid #facc15;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 999px rgba(250, 204, 21, 0.18);
    position: relative;
    z-index: 2;
}

/* Estados */
.embarque-inv-cell.status-available {
    background: rgba(34, 197, 94, 0.15);
    border-bottom-color: rgba(34, 197, 94, 0.2);
}

.embarque-inv-cell.status-available:hover {
    background: rgba(34, 197, 94, 0.25);
}

.embarque-inv-cell.status-unavailable {
    background: rgba(239, 68, 68, 0.12);
    border-bottom-color: rgba(239, 68, 68, 0.2);
}

.embarque-inv-cell.status-unavailable:hover {
    background: rgba(239, 68, 68, 0.22);
}

.embarque-inv-cell.status-outofstock {
    background: rgba(249, 115, 22, 0.12);
    border-bottom-color: rgba(249, 115, 22, 0.2);
}

.embarque-inv-cell.status-outofstock:hover {
    background: rgba(249, 115, 22, 0.22);
}

/* Celula modificada (nao salva) */
.embarque-inv-cell.modified {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0%, 100% { outline-color: #3b82f6; }
    50% { outline-color: #1d4ed8; }
}

/* Celula em edicao */
.embarque-inv-cell.editing {
    position: relative;
    z-index: 20;
    outline: 2px solid #a5b4fc;
    outline-offset: -2px;
    background: #1e3a5f !important;
}

/* ── Preco e vagas ── */
.embarque-inv-cell-price {
    font-weight: 700;
    color: #3b82f6;
    font-size: 0.82rem;
    line-height: 1.4;
    pointer-events: none;
}

.embarque-inv-cell-rooms {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    padding: 1px 4px;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.15s;
}

.embarque-inv-cell-rooms:hover {
    background: rgba(148, 163, 184, 0.15);
}

.status-unavailable .embarque-inv-cell-price {
    color: #f87171;
}

.status-outofstock .embarque-inv-cell-price {
    color: #fb923c;
}

.status-unavailable .embarque-inv-cell-rooms {
    color: #fca5a5;
}

.status-outofstock .embarque-inv-cell-rooms {
    color: #fdba74;
}

/* ── Editor inline ── */
/* ── Legenda ── */
.embarque-inv-legend {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    background: #1e293b;
    border-top: 1px solid #334155;
}

.embarque-inv-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #94a3b8;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-available { background: #22c55e; }
.dot-unavailable { background: #ef4444; }
.dot-outofstock { background: #f97316; }

/* ── Estado vazio ── */
.embarque-inv-empty {
    padding: 40px;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
}

/* ==============================================
   LEGADO — Gantt Styles (fallback)
   ============================================== */

/* ---- HEADERS month/year ---- */
.fn-gantt .rightPanel .month,
.fn-gantt .rightPanel .year {
    background: linear-gradient(180deg, #667eea, #5a67d8) !important;
    color: #fff !important;
    border-bottom: none !important;
    overflow: visible !important;
}
.fn-gantt .rightPanel .month .fn-label,
.fn-gantt .rightPanel .year .fn-label {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    padding: 6px 0 4px 0 !important;
    line-height: 1.3 !important;
    overflow: visible !important;
} 
.fn-gantt .rightPanel .row.header {
    overflow: visible !important;
}
.fn-gantt .rightPanel .dataPanel {
    overflow: visible !important;
}

/* ---- BAR (preco) ---- */
.fn-gantt .bar {
    height: 18px !important;
}
.fn-gantt .bar .fn-label {
    line-height: 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    text-shadow: none !important;
    text-align: center !important;
}

/* ---- CORES DAS BARRAS ---- */
.fn-gantt .ganttRed { background-color: #F5837A; }
.fn-gantt .ganttGreen { background-color: #D8EDA3; }
.fn-gantt .ganttGray { background-color: #CCCCCC; }
.fn-gantt .ganttOrange { background-color: #FCD29A; }

/* ---- LEFT PANEL (nomes quartos) ---- */
.fn-gantt .leftPanel .fn-label {
    padding: 4px 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
}

/* ==============================================
   BOTOES NAVEGACAO — exclusivo, sem sprite
   ============================================== */

/* 3 sprite buttons: ● (hoje), < (volta), > (avanca) */
button.nav-link.nav-now,
button.nav-link.nav-prev-day,
button.nav-link.nav-next-day {
    background: #374151 !important;
    color: #e2e8f0 !important;
    border: 1px solid #4b5563 !important;
    border-radius: 6px !important;
    padding: 4px 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    height: auto !important;
    line-height: normal !important;
    min-width: 32px !important;
    text-align: center !important;
    transition: all 0.15s ease !important;
    box-shadow: none !important;
}
button.nav-link.nav-now:hover,
button.nav-link.nav-prev-day:hover,
button.nav-link.nav-next-day:hover {
    background: #4b5563 !important;
    border-color: #6366f1 !important;
    color: #fff !important;
}
button.nav-link.nav-now {
    background: #1e40af !important;
    border-color: #3b82f6 !important;
    color: #fff !important;
}
button.nav-link.nav-now:hover {
    background: #1d4ed8 !important;
}

/* ==============================================
   BOTOES — nav-link-custom (texto)
   ============================================== */

/* "Mes anterior" e "Proximo mes" */
button.nav-link-custom.nav-prev-month,
button.nav-link-custom.nav-next-month {
    background: linear-gradient(135deg, #667eea, #5a67d8) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: 0 2px 8px rgba(99,102,241,0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
button.nav-link-custom.nav-prev-month:hover,
button.nav-link-custom.nav-next-month:hover {
    background: linear-gradient(135deg, #5a67d8, #4c51bf) !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4) !important;
    color: #fff !important;
}

/* Botao "?" guia — circulo roxo */
button.nav-link-custom.nav-guide {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
    text-decoration: none !important;
    text-align: center !important;
    line-height: 1 !important;
}
button.nav-link-custom.nav-guide:hover {
    box-shadow: 0 6px 20px rgba(99,102,241,0.5) !important;
}

/* ==============================================
   POPUP EDICAO EM LOTE - fora da area da tabela
   ============================================== */

.embarque-bulk-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(2, 6, 23, 0.72) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.embarque-bulk-modal {
    width: min(560px, 96vw) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border-radius: 14px !important;
    padding: 28px !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.42) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.embarque-bulk-modal h2 {
    margin: 0 36px 8px 0 !important;
    color: #0f172a !important;
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.embarque-bulk-range {
    margin: 0 0 18px 0 !important;
    color: #475569 !important;
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
}

.embarque-bulk-modal label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 0 14px 0 !important;
    color: #334155 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
}

.embarque-bulk-modal input,
.embarque-bulk-modal select {
    width: 100% !important;
    min-height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #0f172a !important;
    padding: 8px 12px !important;
    font-size: 1rem !important;
    outline: none !important;
}

.embarque-bulk-modal input:focus,
.embarque-bulk-modal select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16) !important;
}

.embarque-bulk-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

.embarque-bulk-actions button,
.embarque-bulk-close {
    min-height: 38px !important;
    border-radius: 8px !important;
    border: 0 !important;
    cursor: pointer !important;
    font-weight: 700 !important;
}

.embarque-bulk-cancel {
    background: #e2e8f0 !important;
    color: #334155 !important;
    padding: 8px 16px !important;
}

.embarque-bulk-apply {
    background: #2563eb !important;
    color: #fff !important;
    padding: 8px 18px !important;
}

.embarque-bulk-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 34px !important;
    padding: 0 !important;
    background: #e2e8f0 !important;
    color: #334155 !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* ==============================================
   POPUP EDICAO DE DIARIA - fora da area da tabela
   ============================================== */

.embarque-price-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(2, 6, 23, 0.68) !important;
    z-index: 1000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.embarque-price-modal {
    width: min(460px, 96vw) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: 26px !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.42) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.embarque-price-modal h2 {
    margin: 0 36px 8px 0 !important;
    color: #0f172a !important;
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.embarque-price-range {
    margin: 0 0 18px 0 !important;
    color: #475569 !important;
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
}

.embarque-price-modal label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 0 14px 0 !important;
    color: #334155 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
}

.embarque-price-modal input,
.embarque-price-modal select {
    width: 100% !important;
    min-height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #0f172a !important;
    padding: 8px 12px !important;
    font-size: 1rem !important;
    outline: none !important;
}

.embarque-price-modal input:focus,
.embarque-price-modal select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16) !important;
}

.embarque-price-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

.embarque-price-actions button,
.embarque-price-close {
    min-height: 38px !important;
    border-radius: 8px !important;
    border: 0 !important;
    cursor: pointer !important;
    font-weight: 700 !important;
}

.embarque-price-cancel {
    background: #e2e8f0 !important;
    color: #334155 !important;
    padding: 8px 16px !important;
}

.embarque-price-apply {
    background: #2563eb !important;
    color: #fff !important;
    padding: 8px 18px !important;
}

.embarque-price-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 34px !important;
    padding: 0 !important;
    background: #e2e8f0 !important;
    color: #334155 !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* ==============================================
   POPUP DE AJUDA — Totalmente custom
   ============================================== */

/* Overlay escuro */
.embarque-guide-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: rgba(0,0,0,0.65) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Card central */
.embarque-guide-modal {
    background: #1e1e2e !important;
    color: #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 2.5rem 3rem !important;
    max-width: 560px !important;
    width: 90% !important;
    position: relative !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Titulo */
.embarque-guide-modal h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #a5b4fc !important;
    margin: 0 0 1.5rem 0 !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #334155 !important;
    letter-spacing: -0.3px !important;
}

/* Texto */
.embarque-guide-modal p,
.embarque-guide-modal li {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #cbd5e1 !important;
    margin: 0 0 0.8rem 0 !important;
}

/* Lista */
.embarque-guide-modal ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.2rem 0 !important;
}
.embarque-guide-modal ul li {
    padding: 0.5rem 0 0.5rem 1.8rem !important;
    position: relative !important;
}
.embarque-guide-modal ul li:before {
    content: '\2713' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.5rem !important;
    color: #22c55e !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

/* Botao fechar */
.embarque-guide-close {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: none !important;
    border: none !important;
    color: #64748b !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
    line-height: 1 !important;
}
.embarque-guide-close:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #f1f5f9 !important;
}

/* Passo a passo */
.embarque-guide-step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.8rem !important;
    padding: 0.6rem 0 !important;
}
.embarque-guide-step .step-num {
    background: #6366f1 !important;
    color: #fff !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}
.embarque-guide-step .step-text {
    flex: 1 !important;
}

/* ---- OVERLAY preco ---- */
.gantt .panel-price-wrapper {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: rgba(0,0,0,0.55) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(4px);
}
.gantt .panel-price-wrapper .panel-price {
    position: relative !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 2rem 2.5rem !important;
    box-shadow: 0 12px 48px rgba(0,0,0,0.25) !important;
    min-width: 450px !important; max-width: 650px !important;
}
.gantt .panel-price-wrapper .close {
    position: absolute !important;
    top: -12px !important; right: -12px !important;
    width: 30px !important; height: 30px !important;
    border-radius: 50% !important;
    background: #717171 !important;
    color: #fff !important;
    border: 3px solid #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    cursor: pointer !important;
}

/* ---- DATERANGEPICKER ---- */
.daterangepicker {
    z-index: 999999 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
    border-radius: 12px !important;
    border: none !important;
    overflow: hidden !important;
}
.daterangepicker .calendar-table { border-radius: 12px !important; }
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: linear-gradient(135deg, #667eea, #5a67d8) !important;
    border-radius: 50% !important;
}
.daterangepicker .drp-buttons .btn {
    background: linear-gradient(135deg, #667eea, #5a67d8) !important;
    color: #fff !important; border: none !important;
    border-radius: 6px !important; padding: 6px 18px !important;
    font-weight: 600 !important;
}

/* ---- TOOLTIP ---- */
.inventory-room-tooltip {
    position: fixed !important;
    background: #1e1e2e !important;
    color: #fff !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    z-index: 999999 !important;
    pointer-events: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
    line-height: 1.3 !important;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 768px) {
    .fn-gantt .rightPanel .month .fn-label,
    .fn-gantt .rightPanel .year .fn-label {
        font-size: 13px !important;
        padding: 4px 0 2px 0 !important;
    }
    .embarque-guide-modal {
        padding: 1.5rem !important;
        width: 95% !important;
    }
    .embarque-inv-cell {
        min-width: 48px;
        max-width: 60px;
        padding: 4px 2px;
    }
    .embarque-inv-cell-price {
        font-size: 0.75rem;
    }
    .embarque-inv-th-date {
        min-width: 48px;
        max-width: 60px;
        font-size: 0.7rem;
        padding: 6px 2px;
    }
    .embarque-inv-td-room,
    .embarque-inv-th-room {
        min-width: 120px;
        max-width: 140px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    .embarque-inv-toolbar {
        flex-direction: column;
        gap: 8px;
    }
    .embarque-inv-legend {
        flex-wrap: wrap;
        gap: 10px;
    }
}
