/* ==============================================
   CSS PARA TABS DEL MODAL DE NEGOCIOS
   Agregar a styles.css o crear tabs.css
   ============================================== */

/* Contenedor de tabs */
.tabs-container {
    margin: 20px -20px 20px -20px;
    border-bottom: 2px solid #e2e8f0;
}

.tabs {
    display: flex;
    gap: 0;
}

.tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tab:hover {
    background: #f8fafc;
    color: #2563eb;
}

.tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background: #f8fafc;
}

/* Badge de contador en tab de promos */
.tab .badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Contenido de tabs */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   TAB HORARIOS - Lista de días
   =================================== */
.horarios-completos {
    padding: 10px 0;
}

.horario-dia {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f8fafc;
    transition: all 0.2s;
}

.horario-dia:hover {
    background: #f1f5f9;
}

.horario-dia.hoy {
    background: #dbeafe;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
}

.dia-nombre {
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.horario-dia.hoy .dia-nombre {
    color: #2563eb;
    font-weight: 600;
}

.dia-horario {
    font-size: 14px;
    font-weight: 500;
}

/* ===================================
   TAB PROMOCIONES - Cards
   =================================== */
.promociones-lista {
    padding: 10px 0;
}

.promo-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
    transition: all 0.2s;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.promo-numero {
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.promo-descripcion {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 8px;
}

.promo-valor {
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
    background: white;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
}

/* ===================================
   RESPONSIVE - Mobile
   =================================== */
@media (max-width: 640px) {
    .tab {
        font-size: 12px;
        padding: 10px 8px;
    }
    
    .horario-dia {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .dia-horario {
        font-size: 13px;
    }
    
    .promo-card {
        padding: 12px;
    }
    
    .promo-descripcion {
        font-size: 14px;
    }
}
