/* ===================================================================
   CAIXA - ESTILOS ESPECÍFICOS REFINADOS
   Sistema GestãoBLZ - Módulo de Controle de Caixa
   =================================================================== */

/* ===== SEÇÕES PRINCIPAIS ===== */
.caixa-header-section {
    margin-bottom: 2rem;
}



.actions-bar {
    margin-bottom: 1.5rem;
}

.main-content-section {
    margin-bottom: 2rem;
}

/* ===== HEADER CARDS ===== */
.caixa-status-card,
.saldo-card,
.ticket-card,
.actions-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.caixa-status-card:hover,
.saldo-card:hover,
.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.status-content,
.saldo-content,
.ticket-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.status-indicator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== STATUS INDICATOR ===== */
.status-indicator {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.status-indicator.fechado {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.status-indicator.aberto {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.status-indicator.aberto.pulsando {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    animation: pulse-aviso 2s ease-in-out infinite;
}

.status-indicator.historico {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Tema: Azul */
.theme-blue .status-indicator.historico {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

/* Tema: Roxo */
.theme-purple .status-indicator.historico {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Tema: Verde */
.theme-green .status-indicator.historico {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
}

/* Tema: Rosa */
.theme-pink .status-indicator.historico {
    background: linear-gradient(135deg, #f857a6, #ff5858);
    box-shadow: 0 4px 15px rgba(248, 87, 166, 0.3);
}

/* Tema: Laranja */
.theme-orange .status-indicator.historico {
    background: linear-gradient(135deg, #f46b45, #eea849);
    box-shadow: 0 4px 15px rgba(244, 107, 69, 0.3);
}

.status-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

.status-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
}

/* ===== SALDO CARD ===== */
.saldo-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

.saldo-info {
    flex: 1;
}

.saldo-label {
    display: block;
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    margin-bottom: 0.25rem;
}

.saldo-valor {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

/* ===== TICKET CARD ===== */
.ticket-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ticket-info {
    flex: 1;
}

.ticket-label {
    display: block;
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    margin-bottom: 0.25rem;
}

.ticket-valor {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    line-height: 1;
}

/* ===== ACTIONS CARD ===== */
.actions-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BOTÕES ABRIR/FECHAR CAIXA REDESENHADOS ===== */
.btn-action {
    position: relative;
    padding: 1.2rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 16px !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 220px !important;
    min-height: 64px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Botão Abrir Caixa - Verde Moderno */
#abrirCaixaBtn.btn-action {
    background: linear-gradient(135deg, #00b894 0%, #00a085 50%, #008f72 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4) !important;
}

#abrirCaixaBtn.btn-action:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(0, 184, 148, 0.5) !important;
    background: linear-gradient(135deg, #00a085 0%, #008f72 50%, #007d5f 100%) !important;
}

/* Botão Fechar Caixa - Vermelho Premium */
#fecharCaixaBtn.btn-action {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4) !important;
}

#fecharCaixaBtn.btn-action:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.5) !important;
    background: linear-gradient(135deg, #c0392b 0%, #a93226 50%, #922b21 100%) !important;
}

/* Ícones dos botões */
.btn-action i {
    font-size: 1.2rem !important;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.btn-action:hover i {
    opacity: 1;
    transform: scale(1.15) !important;
}

/* Efeito shine premium */
.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.25), 
        transparent
    );
    transition: left 0.7s ease;
}

.btn-action:hover::before {
    left: 100%;
}

/* Estado ativo/pressed */
.btn-action:active {
    transform: translateY(-2px) scale(1.02) !important;
}

/* Texto dos botões */
.btn-action span {
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ===== TOP BAR SECTION ===== */
.top-bar-section {
    margin-bottom: 1.5rem;
}

.top-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== DATE FILTER COMPACT ===== */
.date-filter-compact {
    flex: 0 0 auto;
}

.date-compact-wrapper {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    max-width: 340px;
    width: fit-content;
}

.date-compact-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
}

.date-info-compact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.date-icon-compact {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.date-text-compact {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

.date-actions-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-input-compact {
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--theme-text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
}

.date-input-compact:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
}

.date-input-compact::-webkit-calendar-picker-indicator {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23F67537' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3e%3c/svg%3e");
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.date-btn-compact {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.date-btn-compact:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

.date-btn-compact:active {
    transform: translateY(0);
}

/* ===== QUICK ACTIONS COMPACT ===== */
.quick-actions-compact {
    flex: 0 0 auto;
}

.actions-compact-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.action-btn-compact {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    color: var(--theme-text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.action-btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--theme-text-primary);
}

/* Botão Relatório - Azul discreto */
.action-btn-compact:not(.whatsapp) {
    border-color: rgba(59, 130, 246, 0.2);
}

.action-btn-compact:not(.whatsapp):hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.02);
}

.action-btn-compact:not(.whatsapp) i {
    color: #3b82f6;
}

.action-btn-compact:not(.whatsapp):hover i {
    color: #2563eb;
}

/* Botão WhatsApp - Verde discreto */
.action-btn-compact.whatsapp {
    border-color: rgba(37, 211, 102, 0.2);
}

.action-btn-compact.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.02);
}

.action-btn-compact.whatsapp i {
    color: #25d366;
}

.action-btn-compact.whatsapp:hover i {
    color: #20ba5a;
}

.action-btn-compact:active {
    transform: translateY(0);
}

/* ===== ACTIONS BAR ===== */
.actions-bar {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.actions-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ===== BOTÕES PRINCIPAIS REDESENHADOS ===== */
.actions-bar .btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    min-height: 56px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Botão Reforço de Caixa - Gradiente Azul Premium */
.actions-bar #novaEntradaBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.actions-bar #novaEntradaBtn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4190 100%);
}

.actions-bar #novaEntradaBtn:active:not(:disabled) {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

/* Botão Nova Saída - Gradiente Vermelho Elegante */
.actions-bar #novaSaidaBtn {
    background: linear-gradient(135deg, #ff6b6b 0%, #d63031 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
}

.actions-bar #novaSaidaBtn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.45);
    background: linear-gradient(135deg, #e55656 0%, #b92c2c 100%);
}

.actions-bar #novaSaidaBtn:active:not(:disabled) {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
}

/* Oculta o botão de suplemento conforme solicitado */
.actions-bar #novoSuplementoBtn {
    display: none !important;
}

/* Ícones dos botões */
.actions-bar .btn i {
    font-size: 1.1rem;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.actions-bar .btn:hover:not(:disabled) i {
    opacity: 1;
    transform: scale(1.1);
}

/* Texto dos botões */
.actions-bar .btn .btn-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Efeito shine nos botões */
.actions-bar .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s ease;
}

.actions-bar .btn:hover:not(:disabled)::before {
    left: 100%;
}

/* Estado desabilitado */
.actions-bar .btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.actions-bar .btn:disabled i {
    opacity: 0.5;
}

.actions-bar .btn:disabled::before {
    display: none;
}

/* ===== MAIN CONTENT ===== */
.movimentacoes-card,
.widget-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    height: fit-content;
}

.movimentacoes-card .card-header,
.widget-card .card-header {
    background: var(--theme-bg-primary);
    border-bottom: 1px solid var(--theme-border-color);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title,
.widget-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.total-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== MOVIMENTAÇÕES ===== */
.movimentacoes-list {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
}

.movimentacao-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.movimentacao-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.movimentacao-item:hover .btn-excluir-movimentacao {
    opacity: 1;
    transform: scale(1);
}

.movimentacao-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
    color: white;
}

.movimentacao-icon.entrada {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.movimentacao-icon.saida {
    background: linear-gradient(135deg, #ffc107, #d39e00);
}

.movimentacao-icon.sangria {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
}

.movimentacao-icon.suplemento {
    background: linear-gradient(135deg, #059669, #047857);
}

.movimentacao-icon.abertura {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.movimentacao-info {
    flex: 1;
}

.movimentacao-observacoes {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    margin-top: 0.25rem;
    padding: 0.375rem 0.5rem;
    background: var(--theme-bg-secondary);
    border-radius: 4px;
    border-left: 3px solid var(--theme-primary-color);
}

.movimentacao-observacoes i {
    margin-right: 0.5rem;
    color: var(--theme-primary-color);
}

.movimentacao-descricao {
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: 0.125rem;
    font-size: 1rem;
    line-height: 1.3;
}

.movimentacao-detalhes {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.375rem;
}

/* ===== ACTIONS SECTION ===== */
.movimentacao-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
}

.movimentacao-valor {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: right;
    min-width: 100px;
}

.movimentacao-valor.entrada {
    color: #28a745;
}

.movimentacao-valor.saida {
    color: #ffc107;
}

.movimentacao-valor.sangria {
    color: #17a2b8;
}

.movimentacao-valor.abertura {
    color: #28a745;
}

/* ===== BOTÃO DE EXCLUSÃO ===== */
.btn-excluir-movimentacao {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    flex-shrink: 0;
}

.btn-excluir-movimentacao:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-excluir-movimentacao:active {
    transform: scale(0.95);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    min-height: 300px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.empty-state h6 {
    color: var(--theme-text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.empty-state p {
    color: var(--theme-text-secondary);
    margin: 0;
}

/* Empty State - Específicos para Caixa */
.empty-state h5 {
    color: var(--theme-text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.empty-icon.caixa-aberto {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: pulse-caixa 2s ease-in-out infinite;
}

.empty-icon.caixa-fechado {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

@keyframes pulse-caixa {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }
}

@keyframes pulse-aviso {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.6), 0 0 0 10px rgba(255, 193, 7, 0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empty-state .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.empty-state .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.empty-state .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.empty-state .gap-2 {
    gap: 0.5rem;
}

/* ===== PAYMENT METHODS ===== */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--theme-bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-item:hover {
    background: var(--theme-border-color);
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.payment-icon.dinheiro {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.payment-icon.pix {
    background: linear-gradient(135deg, #00d4aa, #00b894);
}

.payment-icon.cartao {
    background: linear-gradient(135deg, #6c5ce7, #5a49d8);
}

.payment-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-label {
    font-size: 0.95rem;
    color: var(--theme-text-primary);
    font-weight: 500;
}

.payment-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

/* ===== HISTÓRICO ===== */
.historico-wrapper {
    max-height: 250px;
    overflow-y: auto;
}

.historico-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.historico-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--theme-bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.historico-item:hover {
    background: var(--theme-border-color);
}

.historico-data {
    font-size: 0.875rem;
    color: var(--theme-text-primary);
    font-weight: 500;
}

.historico-valor {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== MODALS ===== */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid var(--theme-border-color);
    background: var(--theme-bg-primary);
    border-radius: 16px 16px 0 0;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--theme-text-primary);
}

.modal-body {
    background: var(--theme-card-bg);
}

.modal-footer {
    border-top: 1px solid var(--theme-border-color);
    background: var(--theme-bg-primary);
    border-radius: 0 0 16px 16px;
}

/* ===== FECHAMENTO RESUMO ===== */
.fechamento-resumo {
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.resumo-fechamento {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resumo-fechamento .resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--theme-border-color);
}

.resumo-fechamento .resumo-item:last-child {
    border-bottom: none;
}

.resumo-fechamento .resumo-item.total {
    border-top: 2px solid var(--primary-color);
    padding-top: 0.75rem;
    font-weight: 700;
}

.resumo-fechamento .label {
    font-size: 0.9rem;
    color: var(--theme-text-secondary);
}

.resumo-fechamento .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

.resumo-fechamento .total .label,
.resumo-fechamento .total .value {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ===== RESPONSIVIDADE COMPLETA ===== */

/* Tablet Grande e Desktop Pequeno */
@media (max-width: 1200px) {
    .col-xl-8 {
        margin-bottom: 1.5rem;
    }
    
    .btn-action {
        min-width: 200px !important;
        padding: 0.875rem 2rem !important;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .caixa-header-section .row {
        text-align: center;
    }
    
    .actions-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem;
    }
    
    .actions-left,
    .actions-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .actions-left .btn,
    .actions-right .btn {
        margin: 0.25rem;
        min-width: 140px;
    }
    
}

/* Tablet em modo retrato e Mobile Grande */
@media (max-width: 768px) {
    /* Espaçamentos gerais otimizados */
    .caixa-header-section,
    .top-bar-section,
    .actions-bar,
    .main-content-section {
        margin-bottom: 1rem;
    }
    
    /* Top bar responsive */
    .top-bar-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .date-filter-compact,
    .quick-actions-compact {
        width: 100%;
    }
    
    /* Date filter compact responsive */
    .date-compact-wrapper {
        max-width: 100%;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .date-input-compact {
        min-width: 100px;
        font-size: 0.75rem;
    }
    
    /* Actions responsive */
    .actions-compact-wrapper {
        justify-content: center;
        gap: 1rem;
    }
    
    /* ===== BOTÕES PRINCIPAIS - TABLET ===== */
    .actions-bar {
        padding: 1.25rem 1.5rem;
        gap: 1.25rem;
    }
    
    .actions-bar .btn {
        min-width: 160px;
        min-height: 52px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .actions-left {
        gap: 1.25rem;
        justify-content: flex-start;
    }
    
    .action-btn-compact {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
        flex: 1;
        justify-content: center;
        max-width: 150px;
    }
    
    /* ===== BOTÕES ABRIR/FECHAR - TABLET ===== */
    .btn-action {
        min-width: 180px !important;
        min-height: 56px !important;
        padding: 1rem 2rem !important;
        font-size: 0.9rem !important;
    }
    
    .content-area {
        padding: 0.75rem;
    }
    
    /* Header Cards - Layout Mobile */
    .status-content,
    .saldo-content,
    .ticket-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .status-indicator {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .saldo-icon,
    .ticket-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .saldo-valor,
    .ticket-valor {
        font-size: 1.75rem;
    }
    
    .status-info h5 {
        font-size: 1.125rem;
    }
    
    /* Botões de ação otimizados */
    .btn-action {
        min-width: 100% !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    
    /* Actions Bar Mobile */
    .actions-bar {
        padding: 0.875rem;
    }
    
    .actions-left {
        order: 1;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .actions-right {
        order: 2;
        width: 100%;
    }
    
    .actions-left .btn,
    .actions-right .btn {
        flex: 1;
        min-width: 0;
        margin: 0.125rem;
        padding: 0.6875rem 0.875rem;
        font-size: 0.875rem;
    }
    
    
    /* Movimentações Mobile */
    .movimentacoes-list {
        padding: 0.75rem;
        min-height: 300px;
        max-height: 500px;
    }
    
    .movimentacao-item {
        padding: 0.875rem;
        margin-bottom: 0.625rem;
        border-radius: 10px;
    }
    
    .movimentacao-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-right: 0.875rem;
        flex-shrink: 0;
    }
    
    .movimentacao-descricao {
        font-size: 0.9375rem;
        line-height: 1.25;
    }
    
    .movimentacao-detalhes {
        font-size: 0.8125rem;
        gap: 0.75rem;
        margin-top: 0.25rem;
    }
    
    .movimentacao-actions {
        margin-left: auto;
        min-width: 120px;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.375rem;
    }
    
    .movimentacao-valor {
        font-size: 1.125rem;
        text-align: right;
    }
    
    .btn-excluir-movimentacao {
        opacity: 1;
        transform: scale(1);
        width: 30px;
        height: 30px;
        font-size: 0.8125rem;
    }
    
    /* Widgets da sidebar */
    .payment-methods {
        gap: 0.75rem;
    }
    
    .payment-item {
        padding: 0.875rem;
    }
    
    .payment-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .payment-label,
    .payment-value {
        font-size: 0.9375rem;
    }
    
    /* Histórico */
    .historico-wrapper {
        max-height: 200px;
    }
    
    .historico-item {
        padding: 0.75rem;
    }
    
    /* Modais Mobile */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}

/* Mobile Grande (iPhone Plus, Samsung Galaxy, etc.) */
@media (max-width: 576px) {
    .content-area {
        padding: 0.5rem;
    }
    
    /* Header mais compacto */
    .caixa-status-card,
    .saldo-card,
    .ticket-card,
    .actions-card {
        padding: 1rem;
    }
    
    .status-info h5 {
        font-size: 1rem;
    }
    
    .status-info p {
        font-size: 0.8125rem;
    }
    
    /* ===== BOTÕES PRINCIPAIS - MOBILE ===== */
    .actions-bar {
        padding: 1rem;
        gap: 1rem;
        margin: 0 -0.5rem 1.5rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .actions-left {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .actions-bar .btn {
        min-width: 100%;
        min-height: 48px;
        padding: 0.8rem 1.5rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    .actions-bar .btn i {
        font-size: 1rem;
    }
    
    .actions-bar .btn .btn-text {
        font-weight: 600;
        letter-spacing: 0.2px;
    }
    
    /* ===== BOTÕES ABRIR/FECHAR - MOBILE ===== */
    .btn-action {
        min-width: 160px !important;
        min-height: 50px !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.85rem !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
    }
    
    .btn-action i {
        font-size: 1rem !important;
    }
    
    .saldo-valor,
    .ticket-valor {
        font-size: 1.5rem;
    }
    
    .saldo-label,
    .ticket-label {
        font-size: 0.8125rem;
    }
    
    
    /* Actions bar compacto */
    .actions-bar {
        padding: 0.75rem;
    }
    
    .actions-left .btn,
    .actions-right .btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .btn-text {
        display: none;
    }
    
    /* Apenas ícones nos botões pequenos */
    .actions-left .btn i,
    .actions-right .btn i {
        font-size: 1rem;
    }
    
    /* Movimentações ultra compactas */
    .movimentacao-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    
    .movimentacao-icon {
        width: 38px;
        height: 38px;
        margin-right: 0.75rem;
    }
    
    .movimentacao-info {
        width: 100%;
    }
    
    .movimentacao-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
    }
    
    .movimentacao-valor {
        text-align: left;
        font-size: 1rem;
        min-width: auto;
    }
    
    .movimentacao-detalhes {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    /* Payment methods compacto */
    .payment-item {
        padding: 0.75rem;
    }
    
    .payment-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9375rem;
    }
    
    .payment-label,
    .payment-value {
        font-size: 0.875rem;
    }
    
    /* Fechamento resumo mobile */
    .fechamento-resumo {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .fechamento-resumo .row {
        margin: 0;
    }
    
    .fechamento-resumo .col-md-6 {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .resumo-fechamento .resumo-item {
        padding: 0.375rem 0;
    }
    
    .resumo-fechamento .label {
        font-size: 0.8125rem;
    }
    
    .resumo-fechamento .value {
        font-size: 0.9375rem;
    }
    
    /* Modal mobile */
    .modal-dialog {
        margin: 0.25rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.875rem;
    }
    
    .modal-title {
        font-size: 1.125rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.625rem 0.75rem;
        font-size: 0.9375rem;
    }
}

/* Mobile Pequeno (iPhone SE, etc.) */
@media (max-width: 480px) {
    .content-area {
        padding: 0.375rem;
    }
    
    /* Header ultra compacto */
    .caixa-header-section,
    .top-bar-section,
    .actions-bar,
    .main-content-section {
        margin-bottom: 0.75rem;
    }
    
    /* Top bar mobile */
    .top-bar-wrapper {
        gap: 0.75rem;
    }
    
    /* Date filter mobile */
    .date-compact-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.875rem;
        text-align: center;
    }
    
    .date-info-compact {
        justify-content: center;
    }
    
    .date-actions-compact {
        justify-content: center;
    }
    
    .date-input-compact {
        min-width: 120px;
    }
    
    /* Actions mobile */
    .action-btn-compact {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.375rem;
    }
    
    .action-btn-compact i {
        font-size: 0.875rem;
    }
    
    .caixa-status-card,
    .saldo-card,
    .ticket-card,
    .actions-card {
        padding: 0.875rem;
        border-radius: 12px;
    }
    
    .status-indicator,
    .saldo-icon,
    .ticket-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .saldo-valor,
    .ticket-valor {
        font-size: 1.375rem;
    }
    
    .status-info h5 {
        font-size: 0.9375rem;
    }
    
    
    /* Actions ultra compacto */
    .actions-bar {
        padding: 0.625rem;
        border-radius: 10px;
    }
    
    .actions-left .btn,
    .actions-right .btn {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
        border-radius: 8px;
        min-height: 36px;
    }
    
    /* Movimentações super compactas */
    .movimentacoes-list {
        padding: 0.5rem;
        min-height: 250px;
    }
    
    .movimentacao-item {
        padding: 0.625rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .movimentacao-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9375rem;
        margin-right: 0.625rem;
    }
    
    .movimentacao-descricao {
        font-size: 0.875rem;
    }
    
    .movimentacao-detalhes {
        font-size: 0.75rem;
    }
    
    .movimentacao-valor {
        font-size: 0.9375rem;
    }
    
    .btn-excluir-movimentacao {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    /* Widgets ultra compactos */
    .payment-item {
        padding: 0.625rem;
    }
    
    .payment-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        border-radius: 8px;
    }
    
    .payment-label,
    .payment-value {
        font-size: 0.8125rem;
    }
    
    .historico-item {
        padding: 0.625rem;
    }
    
    .historico-data,
    .historico-valor {
        font-size: 0.8125rem;
    }
}

/* Mobile Extra Pequeno (dispositivos muito pequenos) */
@media (max-width: 360px) {
    .content-area {
        padding: 0.25rem;
    }
    
    .caixa-status-card,
    .saldo-card,
    .ticket-card,
    .actions-card {
        padding: 0.75rem;
    }
    
    .status-indicator,
    .saldo-icon,
    .ticket-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .saldo-valor,
    .ticket-valor {
        font-size: 1.25rem;
    }
    
    
    .actions-bar {
        padding: 0.5rem;
    }
    
    .actions-left .btn,
    .actions-right .btn {
        padding: 0.4375rem 0.5rem;
        min-height: 32px;
    }
    
    .movimentacao-item {
        padding: 0.5rem;
    }
    
    .movimentacao-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        margin-right: 0.5rem;
    }
    
    .payment-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8125rem;
    }
}

/* ===== DISPOSITIVOS TOUCH ===== */
@media (hover: none) and (pointer: coarse) {
    .btn-excluir-movimentacao {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== TEMA ESCURO ===== */
.theme-dark .status-indicator.fechado {
    background: linear-gradient(135deg, #ff4757, #c44569);
}

.theme-dark .status-indicator.aberto {
    background: linear-gradient(135deg, #2ed573, #1e824c);
}

.theme-dark .empty-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.theme-dark .movimentacao-item:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}


.theme-dark .movimentacao-observacoes {
    background: var(--theme-card-bg);
    color: var(--theme-text-secondary);
    border-left-color: var(--theme-primary-color);
}

.theme-dark .movimentacao-observacoes i {
    color: var(--theme-primary-color);
}

/* ===== ANIMAÇÕES ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.movimentacao-item {
    animation: slideInUp 0.3s ease-out;
}


/* ===== UTILIDADES ===== */
.text-entrada {
    color: #28a745 !important;
}

.text-saida {
    color: #ffc107 !important;
}

.text-sangria {
    color: #17a2b8 !important;
}

.bg-entrada {
    background-color: #28a745 !important;
}

.bg-saida {
    background-color: #ffc107 !important;
}

.bg-sangria {
    background-color: #17a2b8 !important;
}

/* ===== BANNER DE HISTÓRICO ===== */
.historico-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

/* Tema: Azul */
.theme-blue .historico-banner {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

/* Tema: Roxo */
.theme-purple .historico-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Tema: Verde */
.theme-green .historico-banner {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
}

/* Tema: Rosa */
.theme-pink .historico-banner {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
}

/* Tema: Laranja */
.theme-orange .historico-banner {
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
}

.historico-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.historico-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.historico-info i {
    font-size: 24px;
    color: white;
    opacity: 0.95;
}

.historico-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: white;
}

.historico-title {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    color: white;
}

.historico-subtitle {
    font-size: 14px;
    color: white;
    opacity: 0.95;
}

.btn-voltar-caixa {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
    white-space: nowrap;
}

.btn-voltar-caixa:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-voltar-caixa:active {
    transform: translateY(0);
}

.btn-voltar-caixa i {
    margin-right: 6px;
}

/* Tema Dark - Banner de Histórico */
.theme-dark .historico-banner {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.theme-dark .btn-voltar-caixa {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.theme-dark .btn-voltar-caixa:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Combinação de temas com dark mode */
.theme-dark.theme-blue .historico-banner {
    background: linear-gradient(135deg, #1976D2 0%, #0d47a1 100%);
}

.theme-dark.theme-purple .historico-banner {
    background: linear-gradient(135deg, #5e35b1 0%, #512da8 100%);
}

.theme-dark.theme-green .historico-banner {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
}

.theme-dark.theme-pink .historico-banner {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
}

.theme-dark.theme-orange .historico-banner {
    background: linear-gradient(135deg, #e64a19 0%, #d84315 100%);
}

/* Responsividade do banner */
@media (max-width: 768px) {
    .historico-banner {
        padding: 12px 15px;
    }

    .historico-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .historico-info i {
        font-size: 20px;
    }

    .historico-title {
        font-size: 14px;
    }

    .historico-subtitle {
        font-size: 13px;
    }

    .btn-voltar-caixa {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
    }
}

/* ===== MODAL DE RELATÓRIO ===== */
.formato-opcoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formato-item {
    width: 100%;
}

.formato-item .btn-outline-secondary {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    padding: 15px;
}

.formato-item .btn-check:checked + .btn-outline-secondary {
    background-color: var(--theme-primary-color, #2196F3);
    border-color: var(--theme-primary-color, #2196F3);
    color: white;
}

.formato-item .btn-check:checked + .btn-outline-secondary i {
    color: white !important;
}

.formato-item .btn-outline-secondary:hover {
    background-color: rgba(var(--theme-primary-rgb, 33, 150, 243), 0.1);
    border-color: var(--theme-primary-color, #2196F3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tema Dark */
.theme-dark .formato-item .btn-outline-secondary {
    border-color: #495057;
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.theme-dark .formato-item .btn-check:checked + .btn-outline-secondary {
    background-color: var(--theme-primary-color, #2196F3);
    border-color: var(--theme-primary-color, #2196F3);
}

.theme-dark .formato-item .btn-outline-secondary:hover {
    background-color: rgba(var(--theme-primary-rgb, 33, 150, 243), 0.2);
}

/* Botões do modal */
#relatorioModal .btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

#relatorioModal .btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

.theme-dark #relatorioModal .btn-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: #000;
}

.theme-dark #relatorioModal .btn-info:hover {
    background-color: #31d2f2;
    border-color: #25cff2;
}
